当尝试使用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)
该如何解决?