Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type RestrictedServer ¶
type RestrictedServer struct { SSHConfig *ssh.ServerConfig ShellError string MOTD string Handler CommandHandler SessionEnd func(meta ssh.ConnMetadata) }
func (*RestrictedServer) ListenAndServe ¶
func (r *RestrictedServer) ListenAndServe(network, address string) (err error)
Click to show internal directories.
Click to hide internal directories.