sing-box/option/ssh.go

15 lines
655 B
Go
Raw Permalink Normal View History

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"`
PrivateKey string `json:"private_key,omitempty"`
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"`
}