git报错:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
问题想要更新git 分支的时候报错Update Failed@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT
·
问题
想要更新git 分支的时候报错
Update Failed
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
Please contact your system administrator.
Add correct host key in /c/Users/EDZ/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /c/Users/EDZ/.ssh/known_hosts:1
ECDSA host key for xxxxxxxxxx has changed and you have requested strict checking.
Host key verification failed.
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
解决方案:
删除/c/Users/EDZ/.ssh/known_hosts里面的密钥信息就可以了。
重新更新的时候再连接会重新生成。
更多推荐
已为社区贡献2条内容
所有评论(0)