Codier
Codier

Reputation: 2160

git push origin master fails

I am trying to upload an existing folder into gitHub. Following instructions I typed the following in windows:

$ git remote add origin [email protected]:myname/myproject.git

and then

$ git push origin master

I get the following error.

The server's host key is not cached in the registery. you have no guarantee that the server is the computer you think it is.
THe server;s rsa2 key fingerprint is:
blah blah blah blah
Connection abandoned.
Fatal : the remote end hung up unexpectedly. 

What does this error mean and how do I resolve it?

Upvotes: 4

Views: 2159

Answers (1)

Karl Bielefeldt
Karl Bielefeldt

Reputation: 49028

From this article:

  1. Open putty
  2. In the Hostname box, type github.com and click Open
  3. You’ll receive a prompt The server’s host key is not cached in the registry. Click Yes then close Putty (don’t bother trying to log in
  4. Github’s host key will now be cached

Upvotes: 7

Related Questions