Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm on a bit of a travel binge at the moment, and unfortunately that finds me using some of the worse WI-FI connections I've ever seen; periodic disappearance and reappearance, highly variable throughput, etc.

I can deal with that on the web-browser side, but a lot of my work is done over ssh. I already use screen to maintain persistent processes once I make the first hop, and can quickly resume work after the first-hop connection dies, but is there anything I can do with this first hop ssh connection to let it cope more gracefully with spotty connections?

share|improve this question
add comment

1 Answer

If it is only the link-layer of the connection that is sloppy, you could disable KeepAlive and give your connection a better chance to recover from long stalls. This may not work well if you are behind NAT or get assigned changing addresses.

In the generic case, I find it simpler to just use a VPN such as OpenVPN. All the applications running on the static internal address become oblivious to disconnection problems.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.