Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SSHHandler ¶
type SSHHandler interface { // Handle processes SSH connections. The requests chan can be disregarded if it is not needed. Handle(t tomb.Tomb, conn *ssh.ServerConn, channel ssh.Channel, requests <-chan *ssh.Request) error }
A SSHHandler is registered with an SSH server to process incoming connections on a particular channel.
func NewShellHandler ¶
func NewShellHandler(logger log.Logger) SSHHandler
Click to show internal directories.
Click to hide internal directories.