Search

Cannot clone repository to local machine

Subscribe to Cannot clone repository to local machine 3 post(s)

 
faheem

Hi,

I am trying to clone my repository but keep getting the below error message, I am using Putty with the msysgit client.

Thanks for any help,
Faheem

Nick@SHARED-LT ~/Documents/ProtoType
$ git clone git@abcd.unfuddle.com:abcd/vr3.git
Initialized empty Git repository in C:/Users/Nick.VROFFICE/Documents/ProtoType/vr3/.git/
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 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Connection abandoned.
fatal: The remote end hung up unexpectedly

 
nekote

Ditto.

As someone just learning these ropes, and has gotten this far, a clue would be nice.
In my case, I’m using GIT
Will thrash around, for a while, to try to solve.

 
Joshua Frappier

After doing some googling for the error mentioned, it sounds like this is a known problem when using Putty on Windows. You must first attempt to connect to the server directly with plink.exe before using Git. When connecting directly with Putty, it will interactively ask you to confirm the host key, at which point it will be cached, allowing Git to run.

I hope that helps!