Portal Home > Knowledgebase > Technical Questions > WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

If you see a message like the below when you are trying to connect to your VPS using SSH, it's completely normal if you have just reinstalled your VPS.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

SSH keys are re-generated when you reinstall your operating system, so your computer warns you regarding this.

You can simply ignore this message and follow the instructions given with the message to resolve the issue.

Simply edit your known_hosts file shown in the message and remove the offending line.

You might just run ssh-keygen -f "<somelocation>/.ssh/known_hosts" -R "<yourVPSIP>" as well if it's shown in the message.

Then you can simply retry connecting and then accept the new key.
Was this answer helpful?
Kubernetes support on VPSDime Services

Full-stack k8s Kubernetes is not supported on our Linux VPS plans, as with the OpenVZ 7...

OpenVPN fails to start. How can I resolve it?

If you cannot start OpenVPN on your VPS with Ubuntu 18.04, Debian 9 or CentOS 7 with the...

How can I enable PPP?

PPP is enabled on our plans by default.

Why can't I clear RAM cache or buffers on Linux VPS?

You do not need to clear your RAM cache. Linux has many decades of excellent memory management...

How can I enable NFS?

To enable NFS on your VPS, you can simply open a ticket with us and we'll handle the rest.