Wednesday, May 14, 2014

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.
...
Offending RSA key in /Users/coty/.ssh/known_hosts:13


If you know that the server key you're connecting to is the correct key - that is, it's changed because you're connecting to a server that shares an IP address with a server on a different network or VPN, or you've reinstalled or rekeyed the server in question - here's the quick sed command to "forget" the old key:

coty@jupiter:~$ sed -i".bak" '13d' ~/.ssh/known_hosts

No comments: