Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProxyService ¶
func NewProxyService( listener net.Listener, logger log.Logger, retrieveCredentials internal.CredentialsRetriever, ) (internal.Service, error)
NewProxyService constructs a new instance of a SSH Agent ProxyService. The constructor takes a Listener, Logger and CredentialResolver. An SSH Agent ProxyService serves ssh-agent protocol requests from an in-memory keyring.
Typical usage has the SSH client delegating auth to the agent e.g.: SSH_AUTH_SOCK=/sock/.agent ssh -T git@github.com
NOTE: The keyring is populated at proxy service startup and so is unable to cope with rotation
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.