Remove the line from the known_hosts, save changes and reconnect.įor most of the cases, the error msg returned by the Linux would have told you what to do. If you'll read the log more carefully you'll see that the key you've got from a host is conflicting with a key you already have - in this case it's on line 74 of known_hosts file (Offending ECDSA key in /var/root/.ssh/known_hosts:74). Offending ECDSA key in /var/root/.ssh/known_hosts:74ĮCDSA host key for 192.168.0.45 has changed and you have requested strict checking. Please contact your system administrator.Īdd correct host key in /var/root/.ssh/known_hosts to get rid of this message. SHA256:sx1Z4xyGY9venBP6dIHAoBj0VhDOo7TUVCE2xWXpzQk. The fingerprint for the ECDSA key sent by the remote host is It is also possible that a host key has just been changed. Someone could be eavesdropping on you right now (man-in-the-middle attack)! I don't know about your particular situation, but most probably this error came along with a message like this: my_mac:~ oivanche$ sudo ssh WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! ![]() Just do "sudo vi /var/root/.ssh/known_hosts" and remove the line, that holds a key for a host you're trying to connect to and reconnect again.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |