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

Extract Domain from email in Excel or Google sheet

  =TEXTAFTER( A2 , "@") or, =MID(A1, FIND("@", A1) + 1, LEN(A1) - FIND("@", A1))