【现象】
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ The ECDSA host key for gitlab.xxx.com has changed, and the key for the corresponding IP address xx.xx.xx.100 is unknown. This could either mean that DNS SPOOFING is happening or the IP address for the host and its host key have changed at the same time. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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:6OtS8J1pqPqYS/SuoTO7PZp41heQhfwhkPpZI9nlmRk. Please contact your system administrator. Add correct host key in /c/Users/xxxx/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /c/Users/xxxx/.ssh/known_hosts:1 ECDSA host key for gitlab.dmall.com 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.
【解决方案】
删除.ssh中的 known_hosts文件,删除后,重新拉取成功。
标签:git,changed,POSSIBLE,host,WARNING,报错,key,ECDSA From: https://www.cnblogs.com/tianpin/p/16643876.html