My level of frustration is reaching new highs -- all thanks to ssh (really all thanks to em not knowing what I am doing)
First question is how do I update openssh to the most current version. I am showing that I have OpenSSH _5.5p1 Debian-4ubuntu5, OpenSSl 0.9.8o 01 June 2010 currently installed. I would like to update to OpenSSH 5.8 (most current version)
Now, onto the real issue.
I was setting up my account on GitHub and was having issues generating the keys. Via GitHub help page:
Code:
$ ssh-keygen -t rsa -C "your_email@youremail.com"
A commenter on this forum suggested I sudo the above command. This solved my access issues and I was able to continue with the GitHub tutorial. I put the public key in my GitHub Account - but I cannot connect. When I try to connect using
Code:
$ ssh -T git@github.com
I get the reply
Code:
Failed to add the host to the list of known hosts (/home/username (me)/.ssh/known_host)
The only thing I am uncertain about is the difference between having the key pair stored in /root/.ssh/id_rsa versus /home/user (me)/.ssh/id_rsa
The tutorial on the github help section shows /home/user (me)/.ssh/id_rsa
The public key is now in the root directory, root@user
Furthermore, I am showing two ssh directories on my computer. One of them is a .shh directory (hidden) under my user account and the other one is a SSH directory under root. All the config files and keys are in this root SSH (not hidden).
Can anybody help me get all this ssh nonsense straightened out . Many thanks!!!
Bookmarks