WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED
Hello! I am a complete novice so please bear with me.
I had a droplet running Debian that was working fine. I decided to rebuild it to Ubuntu just to try it out and basically get my feet wet in running more SSH commands.
Now, whenever I log in via SSH (using Chrome’s Secure Shell) i get:
WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED error.
I did a quick search and learned that i can run
ssh-keygen -R "you server hostname or ip" to fix the problem. I then opened the console from inside my Digital Ocean account and ran the line. However, all i get is
do_known_hosts: hostkeys_foreach failed: No such file or directory
If it matters, I also reset my root password and received the new one via email. Logged in via DO Console and was asked to enter a new one which I did. Also FYI, the error only appears when I log in using Chrome’s Secure Shell and not on DO’s Console.