Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSHAuthMethod ¶
type SSHBaseConfig ¶
type SSHBaseConfig struct { RekeyThreshold uint64 `json:"rekey-threshold" yaml:"rekey-threshold" toml:"rekey-threshold"` KeyExchanges []string `json:"key-exchanges" yaml:"key-exchanges" toml:"key-exchanges"` Ciphers []string `json:"ciphers" yaml:"ciphers" toml:"ciphers"` MACs []string `json:"macs" yaml:"macs" toml:"macs"` }
type SSHClientConfig ¶
type SSHClientConfig struct { SSHBaseConfig User string `json:"user" yaml:"user" toml:"user"` ClientVersion string `json:"client-version" yaml:"client-version" toml:"client-version"` HostKeyAlgorithms []string `json:"host-key-algorithms" yaml:"host-key-algorithms" toml:"host-key-algorithms"` Timeout time.Duration `json:"timeout" yaml:"timeout" toml:"timeout"` Auth []SSHAuthMethod `json:"auth" yaml:"auth" toml:"auth"` HostKey *SSHHostKey `json:"host-key" yaml:"host-key" toml:"host-key"` }
func (SSHClientConfig) ToGoSSHClientConfig ¶
func (cc SSHClientConfig) ToGoSSHClientConfig() (*ssh.ClientConfig, error)
type SSHHostKey ¶
type SSHServerConfig ¶
type SSHServerConfig struct { SSHBaseConfig PublicKeyAuthAlgorithms []string `json:"public-key-auth-algorithms" yaml:"public-key-auth-algorithms" toml:"public-key-auth-algorithms"` NoClientAuth bool `json:"no-client-auth" yaml:"no-client-auth" toml:"no-client-auth"` MaxAuthTries int `json:"max-auth-tries" yaml:"max-auth-tries" toml:"max-auth-tries"` ServerVersion string `json:"server-version" yaml:"server-version" toml:"server-version"` HostKeys []SSHSigner `json:"host-keys" yaml:"host-keys" toml:"host-keys"` }
func (SSHServerConfig) ToGoSSHServerConfig ¶
func (sc SSHServerConfig) ToGoSSHServerConfig() (*ssh.ServerConfig, error)
Click to show internal directories.
Click to hide internal directories.