Bug #242

ssh into hosts times out too quickly

Added by Michael Graff on Aug 22, 2011. Updated on Aug 23, 2011.
Closed Normal Dave Täht


When ssh’ing into a remote host through a cerowrt router, idle ssh connections seem to stop working. This happens when the connection is idle for what seems like a rather short time.

I added this to /etc/rc.local, and the problem went away:

sysctl -w net.netfilter.nf_conntrack_tcp_timeout_established=432000

This sets a 5 day close time. This is probably insane, but works well for me so far. Of course, I’ve only had the box in play for 1.5 days…


Updated by Dave Täht on Aug 23, 2011.
You are doing great stuff.

I use ipv6 mostly, which never times out. I will add that to the default sysctl.conf in the rc6 build

Updated by Dave Täht on Aug 23, 2011.
I don’t have a problem with 4 days. That gets you through a weekend.

In rc6

This is a static export of the original bufferbloat.net issue database. As such, no further commenting is possible; the information is solely here for archival purposes.
RSS feed

Recent News & Articles

Mar 21, 2019 Wiki page
Dave Taht's Take on TCP
Mar 17, 2019 Wiki page
Jake Holland's Stance on ECN
Sep 6, 2018 Wiki page
Pete Heist's Thoughts on ECN
Sep 5, 2018 Wiki page
Dave Taht's Stance on ECN
Sep 4, 2018 Wiki page
Jonathan Morton's Take on ECN

Find us elsewhere

Bufferbloat Mailing Lists
#bufferbloat on Twitter
Google+ group
Archived Bufferbloat pages from the Wayback Machine


Comcast Research Innovation Fund
Nlnet Foundation
Shuttleworth Foundation

Bufferbloat Related Projects

Congestion Control Blog
Lede Project (OpenWrt)
Flent Network Test Suite
The Cake shaper

Network Performance Related Resources

Jim Gettys' Blog - The chairman of the Fjord
Toke's Blog - Karlstad University's work on bloat
Voip Users Conference - Weekly Videoconference mostly about voip
Candelatech - A wifi testing company that "gets it".