Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Password ¶
type Password string
An implementation of ssh.ClientPassword so that you can use a static string password for the password to ClientAuthPassword.
type PasswordKeyboardInteractive ¶ added in v0.1.4
type PasswordKeyboardInteractive string
An implementation of ssh.ClientKeyboardInteractive that simply sends back the password for all questions. The questions are logged.
type SimpleKeychain ¶
type SimpleKeychain struct {
// contains filtered or unexported fields
}
func (*SimpleKeychain) AddPEMKey ¶
func (k *SimpleKeychain) AddPEMKey(key string) (err error)
AddPEMKey adds a simple PEM encoded private key to the keychain.
func (*SimpleKeychain) Key ¶
func (k *SimpleKeychain) Key(i int) (interface{}, error)
Key method for ssh.ClientKeyring interface
Click to show internal directories.
Click to hide internal directories.