@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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:fyz9pKs5X55RS646N75q+q2/MUVXfl82TmKO2P52+do. Please contact your system administrator. Add correct host key in /Users/zhaolu/.ssh/known_hosts to get rid of this message. Offending ECDSA key in /Users/zhaolu/.ssh/known_hosts:1 ECDSA host key for git.dev.jhb.net has changed and you have requested strict checking. Host key verification failed. fatal: Could not read from remote repository.```
其实是服务器的IP变了。
解决办法是:
删除known_hosts文件**(具体路径上面有提示:/Users/zhaolu/.ssh/known_hosts)。
网友评论