SSH error | ssh_exchange_identification: read: Connection reset by peer

Posted August 3, 2016 9.3k 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

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.

Submit an Answer
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.

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