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.



Hi, thanks for the reply.

I tried to use PuTTy. Entered the hostname and hit “Open”. It asked for “login as:”, I entered “root” and got a fatal error popup saying:

Disconnected: No supported authentication methods available (server send: publickey)


I haven’t got any experience with Secure Shell in Chrome, but because you rebuild the machine the key hosts file changed. Basically you gave the machine a new ID. Try to use an SSH client like PuTTY and see if you can get further with the connection.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You are expected to run ssh-keygen -R "you server hostname or ip" on your client (so in Chrome’s Secure Shell) and not on the server.

Hi @reyesjmf

Are you using SSH keys to access the server? Or did you setup the server originally with keys? And let’s stay with PuTTY, until you can access with that, then we can look at CSS.