Tuesday, August 30, 2016

Setting up ssh for github

On Mac and Linux, set up an ssh key in the usual way:

    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

Mac: add the ssh key to the keychain. This only needs to be done once.


To test your connection to github.

    ssh -T git@github.com

No comments: