Versions in this module Expand all Collapse all v1 v1.8.0 Sep 21, 2018 v1.6.7 Feb 27, 2018 Changes in this version + func ForwardToAgent(client *ssh.Client, keyring Agent) error + func ForwardToRemote(client *ssh.Client, addr string) error + func RequestAgentForwarding(session *ssh.Session) error + func ServeAgent(agent Agent, c io.ReadWriter) error + type AddedKey struct + Certificate *ssh.Certificate + Comment string + ConfirmBeforeUse bool + LifetimeSecs uint32 + PrivateKey interface{} + type Agent interface + Add func(key AddedKey) error + List func() ([]*Key, error) + Lock func(passphrase []byte) error + Remove func(key ssh.PublicKey) error + RemoveAll func() error + Sign func(key ssh.PublicKey, data []byte) (*ssh.Signature, error) + Signers func() ([]ssh.Signer, error) + Unlock func(passphrase []byte) error + func NewClient(rw io.ReadWriter) Agent + func NewKeyring() Agent + type Key struct + Blob []byte + Comment string + Format string + func (k *Key) Marshal() []byte + func (k *Key) String() string + func (k *Key) Type() string + func (k *Key) Verify(data []byte, sig *ssh.Signature) error