Versions in this module Expand all Collapse all v1 v1.1.0 Sep 17, 2015 Changes in this version + var DefaultKeyPath = filepath.Join(config.HomeDir(), ".ssh", "id_rsa") + func PKCS5Or7Unpadding(src []byte) []byte + func ReadPrivateKey(path string) (ssh.Signer, error) + func ReadPrivateKeyWithContent(path string, privateKeyContent []byte) (ssh.Signer, error) + func ReadPrivateKeysFromAgent() ([]ssh.Signer, io.Closer, error) + type PasswordMethod func(prompt string) (string, error) + func DummyPasswordMethod(password string) PasswordMethod + type PrivateKey struct + Block *pem.Block + Path string + func (p *PrivateKey) Decrypt() error + func (p *PrivateKey) IsCipherImplemented(cipher string) bool + func (p *PrivateKey) IsEncrypted() bool + func (p *PrivateKey) Signer() (ssh.Signer, error) v1.0.0-rc1 Apr 15, 2015