TopicLinux →
Simple definition
A process that temporarily retains private keys unlocked in memory.
Technical definition
ssh-agent allows tools SSH use loaded keys without re Toggle passphrase at each connection.
What is it used for ?
Facilitate repeated connections while keeping the encrypted keys on disk.
Practical example
ssh-add can load a key in the agent for the duration of the session.
Common issues
- Risk-promoting agent
- Key loaded too long
- Bad SSH_AUTH_SOCK
Related terms
SSH Key · SSH · authorized_keys
Key takeaway: Exact behavior and commands may vary depending on versions, products and architectures.