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

Description

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…

History

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 Updates

Oct 20, 2023 Wiki page
What Can I Do About Bufferbloat?
Dec 3, 2022 Wiki page
Codel Wiki
Jun 11, 2022 Wiki page
More about Bufferbloat
Jun 11, 2022 Wiki page
Tests for Bufferbloat
Dec 7, 2021 Wiki page
Getting SQM Running Right

Find us elsewhere

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

Sponsors

Comcast Research Innovation Fund
Nlnet Foundation
Shuttleworth Foundation
GoFundMe

Bufferbloat Related Projects

OpenWrt Project
Congestion Control Blog
Flent Network Test Suite
Sqm-Scripts
The Cake shaper
AQMs in BSD
IETF AQM WG
CeroWrt (where it all started)

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".