Aditya Basu { notes of a graduate student } BlogAbout

Setting up SSH Agent

Published on July 11, 2019

Stuff about ssh agents.

Manaully add ssh keys to the agent

Add identities -

1
2
3
4
5
# On Linux
ssh-add -k

# On macOS
ssh-add -K

List loaded identities

1
ssh-add -l

Automatically load keys

To auto-load to the agent while logging in -

1
echo "AddKeysToAgent yes" >>~/.ssh/config

← Back to homepage