On Mac and Linux, set up an ssh key in the usual way:
ssh-keygen
cat $HOME/.ssh/id_rsa.pub
Copy that into the github ssh keylist.
Linux: start the ssh agent. This will be good for the duration of the session.
exec ssh-agent bash
ssh-add
Mac: add the ssh key to the keychain. This only needs to be done once.
ssh-add
To test your connection to github.
ssh -T git@github.com
No comments:
Post a Comment