I am doing a git pull for the first time and have been prompted in git that the authenticity of host can\'t be established, the RSA key fingerprint isn\'t correct compared to th
There is a better answer posted here:
http://stackoverflow.com/questions/2643502/git-permission-denied-publickey
This saved me!!!
These commands only work in the git bash prompt. For windows you most likely will need to be in your c:/users//.ssh directory. and also name your key "is_rsa". passphrase is optional and if you provide on you'll be prompted for it each time you do a pull.
good luck.
I have the same issue in Ubuntu. Just Change the permissions and enabling it for ssh-keys
I had similar issue, which means that the remote host is unknown /untrusted. The fix is to have the remote host entry in the known_hosts file.
This is what I have done:
Generate (or use existing) RSA keys and store them in the <USER.HOME>/.ssh
file. If you are using eclipse, you can generate RSA keys using Preferences;
Generate RSA Key...
Save Private Key...
in the .ssh folderNow your <USER.HOME>/.ssh
would contain file; private key, public key and known_hosts
ssh -vt <user>@<hostname>
Now if you try pushing the file to remote, you don't see any errors.
Another problem I ran into was multiple entries in the known_hosts
file as well as a known_hosts2
file.
My only guess is that since I reused a host name in ./ssh/config
to point to different IPs it got confused an created multiple entries.