Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type Authentication []ssh.AuthMethod
func KeyWithPassphrase ¶
func KeyWithPassphrase(privateKey, passphrase string) (authentication Authentication, err error)
func KeyWithoutPassphrase ¶
func KeyWithoutPassphrase(privateKey string) (authentication Authentication, err error)
func Password ¶
func Password(password string) (authentication Authentication)
Click to show internal directories.
Click to hide internal directories.