Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyPair ¶
type KeyPair struct { PrivateKey *rsa.PrivateKey PublicKey []byte }
KeyPair A SSH Key
type Session ¶
Session wraps all ssh actions
func NewSession ¶
NewSession creates a new ssh session with a new ssh keypair created and put into the ssh agent
Click to show internal directories.
Click to hide internal directories.