git服务器';的主机项未缓存在注册表中
我尝试将更改从本地回购拉到远程回购。我打字的时候git服务器';的主机项未缓存在注册表中,git,ssh,rsa,Git,Ssh,Rsa,我尝试将更改从本地回购拉到远程回购。我打字的时候 git pull origin hubert ssh hubert@remove_host 我得到以下错误: 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-r
git pull origin hubert
ssh hubert@remove_host
我得到以下错误:
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: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
但是当我打字的时候
git pull origin hubert
ssh hubert@remove_host
它很好用
我正在使用Windows 7 32位,目录中有相同的文件:
- C:\Users\hubert\.ssh
- C:\Users\hubert\AppData\Local\VirtualStore\Program Files\Git\.ssh
$git\u SSH
的值(在git bash会话中):如果它涉及plink.exe
,它将不会使用$HOME/.SSH/known\u host
(已经包括源服务器,因为手动SSH可以工作)
您可以配置plink:
plink.exe hubert@remote_host
# answer 'y'
或者您可以进行设置。请注意,我遇到了以下错误:
致命错误:断开连接:没有支持的身份验证方法可用(服务器已发送:publickey、gssapi keyex、gssapi with mic)
@hubert GIT\u SSH指的是什么?它指的是C:\Program Files\putty\plink.exe
@hubert确切地说:或者应该有帮助。我只需将GIT\u SSH值更改为C:\Program Files\GIT\bin