I have an issue. I was Configuring Git
using the following command for my ROR application. I added the ssh key and tried to check this using ssh -T [email protected]
command it is throwing the following error.
Error:
The authenticity of host 'github.com (192.30.253.113)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
Permission denied (publickey).
I generated the ssh key using following command.
git config --global color.ui true
git config --global user.name "YOUR NAME"
git config --global user.email "[email protected]"
ssh-keygen -t rsa -b 4096 -C "[email protected]"
After that i added the key using this link(https://github.com/settings/ssh).But when i tried to test it using below command it is throwing this error.
ssh -T [email protected]
Please help me to resolve this issue. I am using ubuntu 14.04.