- Generate an SSH-key id_rsa_your_personal
ssh-keygen -t rsa -C "your@personal.com"
- Add the SSH public-key to GitHub from ~/.ssh/id_rsa_your_personal.pub and tell ssh about the key.
ssh-add ~/.ssh/id_rsa_your_personal.
- Create a config file in ~/.ssh with the following contents: