Remote host identification has changed

#1

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

0 Likes

#2

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

2 Likes

#3

Thanks @koral, It worked

0 Likes