我有一个远程GIT存储库(ubuntu),并且在Windows 7本地工作。我有这个很好的工作,并且设置了SSH密钥。在这个过程中的某个时候,我似乎禁用了GIT/msysgit要求输入密码。我现在有一个新的远程git回购(在Ubuntu上)没有密钥设置,它不会问我的密码。我试图GIT-msysgit不会要求输入密码
git clone ssh://<user>:<pass>@<ip>:<myport>/mygitrepopath
和它不工作的。但我可以用腻子用相同的凭据登录。
编辑
这是我得到
Cloning into 'myhub'...
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 blah blah blah
Connection abandoned.
fatal: The remote end hung up unexpectedly
它是如何工作的?怎么了? – SLaks