I am copying my ssh file id_rsa.pub from my ubuntu machine to my mac os x lion. But when i run ssh -T git@github.com it just shows me the access denied message.
any help on this ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The private key is stored in
~/.ssh/id_rsa. id_rsa.pub is just the public key that everyone knows. Copying the private key to your Mac machine should be sufficient.You can also just generate a new key and register the public part of it in your github ssh settings.