sing-box/option/ssh.go

17 lines
792 B
Go
Raw Permalink Normal View History

2022-08-21 19:36:08 +08:00
package option
2024-11-07 21:44:04 +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-07 21:44:04 +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"`
2022-08-21 19:36:08 +08:00
}