sing-box/option/ssh.go

15 lines
655 B
Go
Raw Permalink Normal View History

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