SSH Agent
ssh-agent is a program that keeps private keys in memory and provides authentication services to SSH client. If you preload an agent with private keys at the beginning of a login session, your SSH clients won;t prompt for passphrases.
To configure ssh-agent:
- Start the agent:
ssh-agent $SHELL- Load private keys:
ssh-addTo list the keys the agent currently holds:
ssh-add -lTo delete a key from the agent:
ssh-add -d name-of-key-fileTo delete all keys from the agent:
ssh-add -D
![]()