Roger Peng's notes (now gone, but available on internet archive)
stackoverflow answer re avoiding passphrase: https://stackoverflow.com/a/25721662/897303
ssh-add ~/.ssh/id_rsa &> /dev/null
I really don't understand this; seems you need to run both ssh-agent and ssh-add in each shell
GitHub instructions re ssh-agent
I think this is just needed on a Mac
-
Start
ssh-agentin the background (in~/.bash_profile?)eval "$(ssh-agent -s)" -
Modify (or create)
~/.ssh/configHost * AddKeysToAgent yes UseKeychain yes IdentityFile ~/.ssh/id_rsa -
Add your private key to the ssh-agent
ssh-add -K ~/.ssh/id_rsa
To change passphrase:
ssh-keygen -p