Remote host identification has changed

I got this warning when remote access to build server:
ssh -o StrictHostKeyChecking=no ubuntu@1.tcp.ngrok.io -p 24346

Here is the warning:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:QDew9itSmzJ5sbnv2c7Cf5j52xuSEOQ5mmP1mRMskVM.
Please contact your system administrator.

Could you help check this. Thanks

You need to remove corresponding entry from known_hosts file, by default it is ~/.ssh/known_hosts

2 Likes

Thanks @koral, It worked

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.