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

Taught in

References