I am new to git. I could setup my git repository and started to using it a couple of days ago. (I am using Github)
Now I want to be able to commit from my other computer, so I setup git, try git clone git@addres.to.my.repo.git
but I got
The authenticity of host 'github.com (207.97.___.___)' can't be established.
RSA key fingerprint is 16:27...
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.___.___' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
Do I need a certificate or something? in that case how can i do it?
Thanks in advance
Ignacio
UPDATE:
Sorry, I forgot to say that I am on Mac OS X.
You need to provide your SSH client (on the second machine) with the private key to match the public key you entered here:
https://github.com/account#ssh_bucket
If you’re using OpenSSH on OS X (or Linux or similar) this is likely to be
${HOME}/.ssh/id_rsa, which can simply copy from the first machine to the second.