Documentation
¶
Overview ¶
Package sshagent connects to a running ssh-agent and serves an in-memory agent over a Unix socket, so keys from the vault can be used by ssh without ever being written to disk.
Index ¶
Constants ¶
View Source
const EnvSocket = "SSH_AUTH_SOCK"
EnvSocket is the variable OpenSSH reads the agent socket from.
Variables ¶
View Source
var ErrNoAgent = errors.New("no ssh-agent: " + EnvSocket + " is not set (start one with 'eval $(ssh-agent)' or 'sslknife ssh agent serve')")
ErrNoAgent means SSH_AUTH_SOCK is not set.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.