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.
I tried everything I found on the web but cannot fix this. the folder usr/bin/known_hosts does not exist, ssh-keygen -R “you server hostname or ip” did not work. I just can’t work it out. Any help would be great.
if you’re using Raspbian OS (which is essentially Debian) you can probably find the file you are searching for under the following directory/path: /home/user/.ssh/known_hosts
replace USER with whatever the name of your specific account is called. That issue/error happens from time to time if the encryption keys change for your host machine… or if your client THINKS that something on the host has changed. Important to be aware of, but on a local area network it’s typically not a huge issue unless you’ve exposed services to the web. Not really enough information here to help fully resolve your issue, but start by finding the appropriate folder. Good luck. Please let us know how you make out.
Thank you for helping peatrick,
the weird thing is, that this folder does not exist on my raspi.!? I don’t know why, and I don’t know where to look now to fix this problem.
Sorry I was not able to help, perhaps this link will provide more guidance than I was able.
https://www.cyberciti.biz/faq/warning-remote-host-identification-has-changed-error-and-solution/