Tech
What is the SSH agent, and how does ssh-add work?
The SSH agent unlocks your key once and signs for you so the key never leaves memory. ssh-add, where it lives on each OS, and why the socket needs guarding.
Originally published at termal.in .
If you've protected your SSH key with a passphrase β and you should have β you've met the annoyance the agent exists to solve: type that passphrase for every single connection, or leave the key unprotected. The SSH agent is the third option. Unlock the key once , and the agent handles every auth...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to