Remove RSA host key using ssh-keygen

nithineluvathingal@EluS-MacBookPRO ~ % ssh administrator@198.18.133.3

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@    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 RSA key sent by the remote host is

SHA256:/hRItz5rgWR3NC/kwbjJ3I8wQGpjmpElSsshw2tMZ7Q.

Please contact your system administrator.

Add correct host key in /Users/nithineluvathingal/.ssh/known_hosts to get rid of this message.

Offending RSA key in /Users/nithineluvathingal/.ssh/known_hosts:7

RSA host key for 198.18.133.3 has changed and you have requested strict checking.

Host key verification failed.

ssh-keygen -R server-name
ssh-keygen -R server.ip.addre.ss
ssh-keygen -R 202.54.1.5
ssh-keygen -R server1.example.com
Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s