SSH error | ssh_exchange_identification: read: Connection reset by peer


I just signed up on Digital ocean, created my droplet. At first time, I created my droplet with ssh key, but i was getting this error, I decided to remove the key. So, destroyed that droplet, created a new one without SSH key, I received the root password in my email, But this is what I get when I try to login.

Macintosh:etc abspk$ ssh root@IP.ADDRESS
ssh_exchange_identification: read: Connection reset by peer

I added my droplet’s IP into hosts file. But still getting this error.

Any help?

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.

Hey…Just reboot your server which you want to ssh. It worked for me, previously I was facing the same issue.

Without knowing any further information about your droplet, what steps you have taken to troubleshoot, etc. The first thing I would check is whether your ISP or network administrator is blocking port 22. You should be able to connect to your droplet’s shell via the console in the control panel in order to investigate further.