Question

Slow SSH on Home Network

  • Posted February 24, 2014

I’m having issues connecting to my droplet via SSH using my home network.

I’m using OSX and the terminal to connect to the server. Often hangs - or when does connect it’s extremely slow.

However if I connect using my phone and an ssh client over 4G I get good speeds.

I read this could be a dns issue so I updated my dns to google - but still the same connection issues. Anyone got any ideas?

Subscribe
Share

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

Found out this was a router issue. Replaced the router last night and works perfectly. <br> <br>

You can debug the SSH connections with your ‘ssh’ client with these 3 debug modes: <br>a. ‘ssh -v user@IP’ - Returns debugging at ‘debug1’ level <br>b. ‘ssh -vv user@IP’ - Returns debugging at ‘debug2’ level <br>c. ‘ssh -vvv user@IP’ - Returns debugging at ‘debug3’ level <br> <br>Try each debuging mode one at a time. You’ll see which step in the SSH connection takes time or fail.

I am having the same exact issue.

Both. I often cannot even connect because it times out.

Is the connection handshake slow or is it the connection once completed that is slow?