package
0.0.0-20201102054017-282493799a89
Repository: https://github.com/golangltd/leafltd.git
Documentation: pkg.go.dev

# Functions

ForwardToAgent routes authentication requests to the given keyring.
ForwardToRemote routes authentication requests to the ssh-agent process serving on the given unix socket.
NewClient returns an Agent that talks to an ssh-agent process over the given connection.
NewKeyring returns an Agent that holds keys in memory.
RequestAgentForwarding sets up agent forwarding for the session.
ServeAgent serves the agent protocol on the given connection.

# Structs

AddedKey describes an SSH key to be added to an Agent.
Key represents a protocol 2 public key as defined in [PROTOCOL.agent], section 2.5.2.

# Interfaces

Agent represents the capabilities of an ssh-agent.