sshagent

package
v1.7.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL