Categories: Marketing

How To Fix the “Warning: Remote Host Identification Has Changed” Error

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 ED25519 key sent by the remote host is
xx.xx.xx.
Please contact your system administrator.
Add correct host key in /Users/johndeo/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/johndeo/.ssh/known_hosts:14
Host key for user has changed and you have requested strict checking.
Host key verification failed.

How To Fix the “Warning: Remote Host Identification Has Changed” Error (on Windows and Mac)

rom here, run the nano ~/.ssh/known_hosts command in your window. This will open a new Nano instance and display the keys within your known_hosts file:

You should delete the key causing the “Warning: Remote host identification has changed” error, then save your changes.

You might also want to delete the entire known_hosts file, especially if you only use SSH for one or two sites. To do this, you can run rm .ssh/known_hosts in a Terminal window.

Tamir Khan

Leave a Comment
Share
Published by
Tamir Khan

Recent Posts

Security Disable root login, Configure SSHD Configuration:

Ensure that root login is disabled in the SSHD configuration file (sshd_config). Set PermitRootLogin no.…

3 months ago

Separate AWS EC2 account VS Single AWS EC2

The choice between a single AWS hosting instance with multiple cPanel accounts and a single…

5 months ago

Top 22+ AWS Interview Questions and Answers for 2021

Here are some common AWS interview questions and answers: What is AWS? AWS stands for…

7 months ago

What is SSL?

SSL stands for Secure Sockets Layer, which is a security protocol used to establish a…

1 year ago

5 Ways to Fix the “Sorry, You Are Not Allowed to Access This Page” Error in WordPress

If you are encountering the "Sorry, you are not allowed to access this page" error…

1 year ago

How I Built a Website That Generates 4 Million Visitors a Month

Building a website that generates 4 million visitors a month is a significant accomplishment and…

1 year ago

This website uses cookies.