Unable to push gitlab updates - ECDSA host key has changed

Description of the problem: When trying to push updates via gitlab, I receive an error message that host key verification fails, and that reading from remote repository is not possible. I assume that this is related to Pavlovia’s server migration, but I do not know how to fix this. Can anyone please point me in the right direction?

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The ECDSA host key for gitlab.pavlovia.org has changed,
and the key for the corresponding IP address 51.38.228.163
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.

Host key verification failed.
fatal: Could not read from remote repository.

Nevermind… it really was as simple as updating the ssh key with “ssh-keygen -R gitlab.pavlovia.org”. Leaving this up in case it helps others (like me) less experienced with this kind of thing.

2 Likes