What can I do to configure my SSH such that it pauses for a flaky connection?

Posted by kfmfe04 on Super User See other posts from Super User or by kfmfe04
Published on 2012-12-08T09:59:32Z Indexed on 2012/12/08 11:16 UTC
Read the original article Hit count: 217

I run ssh from OSX to a Ubuntu box - under home WIFI, everything works perfectly.

However, when I ssh from certain external networks, ssh may be working fine for a minute or two and then drop due to a flaky network (diagnosed by pinging 8.8.8.8).

How can I set up ssh so that it simply waits/pauses rather than drop (when dropping, I have to setup my development environment from scratch - a big hassle).

EDIT When I say a bad connection, I mean, for example, ping 8.8.8.8 will work fine for a while, and then fail for 40-50 pings, and then come back on again.

© Super User or respective owner

Related posts about networking

Related posts about wireless-networking