When I try to clone a project from our work github server, I am seeing this error. Earlier today this was no problem, but this afternoon it suddenly started happening.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:<fingerprint>.
Please contact your system administrator.
Add correct host key in /Users/<myname>/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/<myname>/.ssh/known_hosts:1
ECDSA host key for github.companysite.com has changed and you have requested strict checking.
I even tried generating a fresh key pair, but that didn't solve it. The thing is, I have no way of knowing if the servers for our github instance changed and this is a legitimate new fingerprint or if it's an attack. I do have access to the web version of github for our company. Is there some way that I can check the server's fingerprint through the web page and compare to the one I'm receiving before I copy it into that trusted hosts file?
Edit for clarification: this is a private github instance for my company, not public github.