2022-08-21 19:36:08 +08:00
|
|
|
package option
|
|
|
|
|
|
2024-11-18 18:55:34 +08:00
|
|
|
import "github.com/sagernet/sing/common/json/badoption"
|
|
|
|
|
|
2022-08-21 19:36:08 +08:00
|
|
|
type SSHOutboundOptions struct {
|
2022-09-03 12:55:10 +08:00
|
|
|
DialerOptions
|
2022-08-21 19:36:08 +08:00
|
|
|
ServerOptions
|
2024-11-18 18:55:34 +08:00
|
|
|
User string `json:"user,omitempty"`
|
|
|
|
|
Password string `json:"password,omitempty"`
|
|
|
|
|
PrivateKey badoption.Listable[string] `json:"private_key,omitempty"`
|
|
|
|
|
PrivateKeyPath string `json:"private_key_path,omitempty"`
|
|
|
|
|
PrivateKeyPassphrase string `json:"private_key_passphrase,omitempty"`
|
|
|
|
|
HostKey badoption.Listable[string] `json:"host_key,omitempty"`
|
|
|
|
|
HostKeyAlgorithms badoption.Listable[string] `json:"host_key_algorithms,omitempty"`
|
|
|
|
|
ClientVersion string `json:"client_version,omitempty"`
|
2026-04-28 09:01:24 +08:00
|
|
|
Cipher badoption.Listable[string] `json:"cipher,omitempty"`
|
|
|
|
|
MAC badoption.Listable[string] `json:"mac,omitempty"`
|
|
|
|
|
KexAlgorithm badoption.Listable[string] `json:"kex_algorithm,omitempty"`
|
2022-08-21 19:36:08 +08:00
|
|
|
}
|