sing-box/option/ssh.go

17 lines
792 B
Go
Raw Normal View History

2022-08-21 11:36:08 +00:00
package option
2024-11-07 13:44:04 +00:00
import "github.com/sagernet/sing/common/json/badoption"
2022-08-21 11:36:08 +00:00
type SSHOutboundOptions struct {
2022-09-03 04:55:10 +00:00
DialerOptions
2022-08-21 11:36:08 +00:00
ServerOptions
2024-11-07 13:44:04 +00: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 11:36:08 +00:00
}