Reputation: 483
I'm trying to connect to a repository but I always get this message when I try to connect
The server's host key is not cached in the registry. You
have no guarantee that the server is the computer you
think it is.
The server's rsa2 key fingerprint is:
ssh-rsa 2048 c1:90:ff:d5:6b:78:33:5d:7b:ba:f6:f6:bc:1c:de:79
Connection abandoned.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Upvotes: 2
Views: 540
Reputation: 142642
If ssh is not working for you try to clone using http/https.
Another solution (depends on your git "server" github/bitbucket/stash etc) add your ssh key to the "server" and it will work.
Upvotes: 1
Reputation: 10260
Try to manually connect to the host with ssh to confirm and store the ssh fingerprint. On Windows it might help to use a tool for the checkout that can handle this for you. Eclipse for example can, as far as I know.
Upvotes: 3