Versions in this module Expand all Collapse all v0 v0.0.3 Feb 27, 2017 v0.0.2 Feb 25, 2017 Changes in this version + func ForwardToAgent(client *xssh.Client, keyring Agent) error + func ForwardToRemote(client *xssh.Client, addr string) error + func RequestAgentForwarding(session *xssh.Session) error + func ServeAgent(agent Agent, c io.ReadWriter) error + type AddedKey struct + Certificate *xssh.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 xssh.PublicKey) error + RemoveAll func() error + Sign func(key xssh.PublicKey, data []byte) (*xssh.Signature, error) + Signers func() ([]xssh.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) MarshalJSON() ([]byte, error) + func (k *Key) String() string + func (k *Key) Type() string + func (k *Key) Verify(data []byte, sig *xssh.Signature) error