Documentation ¶
Overview ¶
The package "sshlib" is a simple library that makes it easier to work with the "golang.org/x/crypto/ssh"-package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handle ¶
func Handle(nc net.Conn, sc chan *ShellSession, S *ssh.ServerConfig)
Handles the SSH protocol and feeds the shell-sessions to sc.
Types ¶
type ShellSession ¶
type ShellSession struct { Ch ssh.Channel Permission *ssh.Permissions Term string Width int Heigth int // emits a value, if with or height changes. ChSize <-chan int // contains filtered or unexported fields }
A shell session.
Directories ¶
Path | Synopsis |
---|---|
This package implements the session handling on unix machines.
|
This package implements the session handling on unix machines. |
This package implements the session handling (experimental) on windows machines.
|
This package implements the session handling (experimental) on windows machines. |
Click to show internal directories.
Click to hide internal directories.