Report this

What is the reason for this report?

SSH error | ssh_exchange_identification: read: Connection reset by peer

Posted on August 3, 2016

Hi,

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?



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!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.