SSH error | ssh_exchange_identification: read: Connection reset by peer

August 3, 2016 8k views


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?

1 comment
2 Answers

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.

  • I was facing the same issue and just switch my wifi network and it works fine for me. Actually my network was blocked by my ips provider.

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

Have another answer? Share your knowledge.

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