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.


Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.