afree
By:
afree

SSH error | ssh_exchange_identification: read: Connection reset by peer

August 3, 2016 2.7k views
DigitalOcean

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?

1 comment
1 Answer

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.
    Thanks

Have another answer? Share your knowledge.