ssh-agent
A background program that holds your decrypted private keys for a session so you do not retype passphrases for every connection.
In more detail
ssh-add loads a key, ssh-add -l lists them, and ssh-add -D removes them. The agent never hands out keys, but any process that can reach it can ask it to sign logins. Limit its lifetime with ssh-add -t and remove keys when finished.
Example
agent=on keys=1 fwd=off life=session keeps one key loaded with forwarding off.Related terms
- agent forwarding — An SSH option that lets a remote server use your local ssh-agent to authenticate onward connections as you.
- SSH key — A key pair used to log in over SSH: the private key stays on your machine and the public key is added to the server account.
- private key — The secret half of a key pair, which proves its holder's identity and must never be shared.
Taught in
- SSH Keys, The Agent And The Config File — Linux Fundamentals & Systems Administration