Tuesday, February 23, 2021

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! || SSH

Problem:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 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:9cw8z+XkMzK09077WQVzFPZllB38LUzW+odbhEp3mm0.
Please contact your system administrator.
Add correct host key in /Users/imac/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/imac/.ssh/known_hosts:14
ECDSA host key for [192.180.251.241] has changed and you have requested strict checking.
Host key verification failed.
olineit-iMac:~ imac$ ssh root@[IP or Hostname]


Solution:
ssh-keygen -R [hostname or IP]

No comments:

Post a Comment

How to get Ranking of the Students in Excel using RANK Function

=RANK(number,ref,[order]) To rank in descending order, we will use the formula =RANK(B2,($C$5:$C$10),0) If we want unique ranks, we can use...