ssh-add ~/.ssh/id_rsa
Managing Keys in ssh-agent
- You can view the keys currently managed by
ssh-agent
with:
sh
ssh-add -l
- If you want to remove a key from
ssh-agent
, use:
sh
ssh-add -d ~/.ssh/id_rsa
- To remove all keys from
ssh-agent
, you can use:
sh
ssh-add -D