2022-08-21 19:36:08 +08:00
|
|
|
package option
|
|
|
|
|
|
|
|
type SSHOutboundOptions struct {
|
2022-09-03 12:55:10 +08:00
|
|
|
DialerOptions
|
2022-08-21 19:36:08 +08:00
|
|
|
ServerOptions
|
|
|
|
User string `json:"user,omitempty"`
|
|
|
|
Password string `json:"password,omitempty"`
|
2023-09-19 19:59:07 +08:00
|
|
|
PrivateKey Listable[string] `json:"private_key,omitempty"`
|
2022-08-21 19:36:08 +08:00
|
|
|
PrivateKeyPath string `json:"private_key_path,omitempty"`
|
|
|
|
PrivateKeyPassphrase string `json:"private_key_passphrase,omitempty"`
|
2023-02-08 16:20:48 +08:00
|
|
|
HostKey Listable[string] `json:"host_key,omitempty"`
|
2022-08-21 19:36:08 +08:00
|
|
|
HostKeyAlgorithms Listable[string] `json:"host_key_algorithms,omitempty"`
|
|
|
|
ClientVersion string `json:"client_version,omitempty"`
|
|
|
|
}
|