Documentation ¶
Index ¶
Constants ¶
View Source
const SSH_ECPREFIX = "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABB"
Variables ¶
View Source
var ( // ErrEOF is the error when the terminal exits ErrEOF = errors.New("EOF") )
Functions ¶
func LoadAuthorizedKeys ¶
LoadAuthorizedKeys loads path as an array. It will return nil if path doesn't exist.
func SSHKey2Crypto ¶
Convert from SSH to crypto
func SignSSHHost ¶
func SignSSHUser ¶
Types ¶
type SSHConn ¶
type SSHConn struct { LastSeen time.Time ConnectTime time.Time // contains filtered or unexported fields }
func (*SSHConn) OpenStream ¶
OpenStream creates a new stream. This uses the same channel in both directions.
Click to show internal directories.
Click to hide internal directories.