Generating an SSH Key ssh-keygen -f ~/.ssh/github Host github.com Hostname github.com IdentityFile ~/.ssh/github END Register your GitHub public key in the web interface.