@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ 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 ED25519 key sent by the remote host is SHA256:****************************************. Please contact your system administrator. Add correct host key in /c/Users/***/.ssh/known_hosts to get rid of this message. Offending ED25519 key in /c/Users/***/.ssh/known_hosts:5 Host key for [gitlab.nofar.com.cn]:8022 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 rights and the repository exists.
找到这两个文件(将里面的内容清空就行)
大概的原因就是更换地址后连接过一次,但是指纹出了点稳点,删除重新连接就可以了