Saturday, April 28, 2012

How to solve SSH issues to github

I had problems SSHing github.com, so this is how I solved it.

Avoid sshing from root


First of all, don't use your root account. So let's assume you are logged in in your computer as joe.

Make sure ssh client is installed




Passphrase


Get a passphrase ready. In doubt, google how to create a good passphrase. Write it down somewhere, it will be your password.

Terminal




Copy SSH key into github


In your github account, go to SSH keys and paste output of `cat /home/joe/.ssh/github.pub` in Add Key

Terminal


No comments:

Post a Comment

Note: Only a member of this blog may post a comment.