Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSshServer ¶
func NewSshServer(conf *SshDConf) *sshServer
NewSshServer builds an SshServer object
Types ¶
type SshDConf ¶ added in v0.6.3
type SshDConf struct { Key string `yaml:"server_key"` AuthorizedKeysFile string `yaml:"authorized_keys"` AuthorizedPassword string `yaml:"authorized_password"` // The address the sshd server will listen too ListenAddress string `yaml:"listen_address"` // if true the exec,shell requests will be ignored DisableShell bool `yaml:"disable_shell"` }
SshDConf holds the sshd configuration
Click to show internal directories.
Click to hide internal directories.