Hi
I have problems ssh-ing into github. I've followed all the guides but still no joy. It does not seem to be picking up my key. Here are the logs:
nrajiv@blr-nairr-nw:~/.ssh$ ssh -vv github
OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
debug1: Reading configuration data /home/nrajiv/.ssh/config
debug1: /home/nrajiv/.ssh/config line 1: Applying options for github
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to github.com [207.97.227.239] port 22.
debug1: connect to address 207.97.227.239 port 22: Connection refused
ssh: connect to host github.com port 22: Connection refused
-----------------------------------------------------------------
I did the following:
1. Uploaded my keys again and verified the fingerprint (http://help.github.com/linux-verify-ssh/).
2. Set up my ~/.ssh/config file with:
Code:
Host github
User git
Hostname github.com
PreferredAuthentications publickey
IdentityFile /home/nrajiv/.ssh/id_rsa
3. Updated my file permissions
nrajiv@xxxxx:~/.ssh$ ls -ltr
total 12
-rw------- 1 nrajiv nrajiv 134 May 8 13:42 config
-rw------- 1 nrajiv nrajiv 402 May 8 13:44 id_rsa.pub
-rw------- 1 nrajiv nrajiv 1766 May 8 13:44 id_rsa
-- directory permissions
nrajiv@xxxxx:~$ ls -altr
drwx------ 2 nrajiv nrajiv 4096 May 8 13:44 .ssh
Still no joy. Can you help please? I'm on a 64-bit Ubuntu 12 LTS.
Bookmarks