Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigFunc ¶
type ConfigFunc func() (*ssh.ClientConfig, error)
ConfigFunc is just a function signature for retrieving ssh configuration functions.
func ConfigForCert ¶
func ConfigForCert(user, cert string) ConfigFunc
ConfigForCert returns a configuration func for the given username and certificate.
func ConfigForPassword ¶
func ConfigForPassword(user, password string) ConfigFunc
ConfigForPassword returns a configuration func for the given username and password.
Click to show internal directories.
Click to hide internal directories.