GitExtenstions UI阻止克隆“服务器的主机密钥不匹配”

时间:2019-09-05 18:33:37

标签: git-extensions

当尝试使用Git Extensions克隆存储库且服务器的主机密钥已更改时,日志窗口报告和错误。但是,UI不允许回答提示。此时唯一可以做的就是中止。

"C:\Program Files\Git\bin\git.exe" fetch --progress "origin"
WARNING - POTENTIAL SECURITY BREACH!
The server's host key does not match the one PuTTY has
cached in the registry. This means that either the
server administrator has changed the host key, or you
have actually connected to another computer pretending
to be the server.
The new ssh-ed25519 key fingerprint is:
ssh-ed25519 256 eb:db:****:68:09:48
If you were expecting this change and trust the new key,
enter "y" to update PuTTY's cache and continue connecting.
If you want to carry on connecting but without updating
the cache, enter "n".
If you want to abandon the connection completely, press
Return to cancel. Pressing Return is the ONLY guaranteed
safe choice.
Update cached key? (y/n, Return cancels connection)

该如何解决?

1 个答案:

答案 0 :(得分:2)

修复方法是菜单存储库>>远程存储库,然后使用[测试连接]按钮。这样会在控制台窗口中弹出相同的消息并提示您进行输入。

enter image description here