I cannot figure out how to connect to GitHub from my server (e.g.,
git pull) without ever needing to enter my password. I have followed all the passwordless setup steps as mentioned in this superuser post and GitHub's instructions, but it requires me to run these steps each time I login:
eval `ssh-agent` ssh-add
It then prompts for my passphrase, adds a id_rsa and id_dsa identity, and then remembers my password for that session. When I re-login, I need to repeat the above steps. I login to my server like
ssh -p xxxx firstname.lastname@example.org (passwordless)
git pull the same repo from my Mac, I am not prompted.
How do I get it to never prompt me from my server?