使用 GIT PUSH 出错:WARNING: POSSIBLE DNS SPOOFING DETECTED!

来源:互联网 发布:怎么做数据分析报告 编辑:程序博客网 时间:2024/06/03 10:41
 master » gp                                        /d/product-requirement@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@The ECDSA host key for git.jd.com has changed,and the key for the corresponding IP address 172.20.39.31is unknown. This could either mean thatDNS SPOOFING is happening or the IP address for the hostand 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 isSHA256:nDruRKWxkMnqkJhXT42+4CzYn/pRGeK3hl3jdemYTjU.Please contact your system administrator.Add correct host key in /home/lizhenyang/.ssh/known_hosts to get rid of this message.Offending ECDSA key in /home/lizhenyang/.ssh/known_hosts:3ECDSA host key for git.jd.com has changed and you have requested strict checking.Host key verification failed.fatal: Could not read from remote repository.Please make sure you have the correct access rightsand the repository exists.

先备份一下 ~/.ssh/know_hosts 删除一下它,再试试。