Today the company updated the git address and after changing the hosts it still reports the following error.
This requires removing the /.ssh/known_hosts file to allow ssh to re-authenticate.
Push failed
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for xxx.git.com has changed,
and the key for the corresponding IP address 123.xx.xx.xx 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:a3kdaf8Axxxxxxxxxxxxxx.
Please contact your system administrator. Add correct host key in /c/Users/xxxxx/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /c/Users/xxxxx/.ssh/known_hosts:1 ECDSA host key for xxx.git.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.
Similar Posts:
- Mac remote service repair: warning: remote host identification has changed!
- WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! [How to Fix]
- How to Solve host key verification failed
- [Solved] Linux-SSH: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
- SCP Error: Host key verification failed [How to Solve]
- [Solved] SSH connection server error: warning: remote host identification has changed!
- Vagrant: How to Change the Default SSH Port
- Git Connect Error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
- Windows: How to Solve Git Pull Error
- How to Solve Code cloud error: fatal: remote origin already exists