On Sun, Mar 20, 2011 at 21:41, Simon Males <[email protected]> wrote: > We have just switched Internet connections (from ADSL2 to [SH/B]DSL) > and I'm finding that SSH connections to the Internet are timing out.
I bet whatever device is doing NAT or firewalling on the outside of your network is dropping the "idle" connection; turning on TCP or protocol level keep-alive messages in SSH will probably solve your problem. > Normally SSH sessions could be open all day. I've logged a fault with > the provider and they are looking into it. Odds are, if they control the firewall, they will be unwilling to fix this on their end. Not that I am bitter or anything. > I'm wondering if I can get some timings from SSH to look for any > patterns. Though a timed out session and a nicely exited one look all > the same in auth.log I would grab a tcpdump on both ends of a session that fails, and determine what is being seen by both ends. That should conclusively prove or deny my thesis. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ✉ Daniel Pittman <[email protected]> ✆ Contact me via gtalk, email, or phone: +1 (503) 893-2285 ♲ Made with 100 percent post-consumer electrons -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
