Wednesday, 13 December 2017

linux - SSH "Write failed / Read from socket failed: Connection reset by peer"

When I try to connect to my SSH server (running Arch Linux) at home from my school (on my Windows 8 laptop), I sometimes get "Write failed: Connection reset by peer," and other times "Read from socket failed: Connection reset by peer." I can't post the error right now because I'm not at school and it only happens while at school, but I believe the last line before either of the above is "SSH2_MSG_SERVICE_REQUEST sent." This ONLY happens at school - I am able to connect over my mobile hotspot.


So far, I have tried:



  1. Changing Use_DNS to 'no' in sshd_config

  2. Reinstalling ssh_server

  3. Changing to port 443 to avoid blocked ports

  4. Changing the Cipher list

  5. Generating new keys (on server)


Again, this only happens at school. Because of this, I assume it's because they are blocking ports. However, I tried it on port 443 and it didn't work, and I will be trying port 80 later today (as much as I don't want to open port 80).


Thanks for taking time to help me if you so choose, I'm new to SSH and have little experience with anything in networking.


UPDATE: Port 80 works. Odd that port 443 was blocked...

No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...