Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] NEC Aterm DR302 and SSH timeouts
- Date: Tue, 4 May 2004 10:14:15 +0900
- From: Jim Tittsler <jwt-tlug@example.com>
- Subject: Re: [tlug] NEC Aterm DR302 and SSH timeouts
- References: <54379B35.5B551078@example.com>
- Organization: 7J1AJH/AI8A Tokyo
- User-agent: Mutt/1.4.1i
On Mon, May 03, 2004 at 02:56:43PM +0900, Ian Barwick wrote: > I'm using such a connection right now, with a piece of kit between me > and the Internet labelled "NEC Aterm DR302", which seems to be a > combined DSL modem (at least I presume it's DSL) and router on a Nihon > Telecom connection. Everything works fine except that idle SSH > sessions get timeouts after a while, which is turning intercontinental > server administration into a bit of a drag. Some SSH clients have the ability to insert an SSH NOOP periodically on an idle connection. (PuTTY for example. :-) There are patches that allow you to add it to OpenSSH. http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html There may be an easier alternative. Are you running ssh with TCP "KeepAlive" messages enabled? A TCP keepalive may be enough for your device to sense activity on the link. Depending on how long the timeout is, you need to increase the KeepAlive frequency to make sure there is some packet activity on the link. By default Linux sets tcp_keepalive_time to 7200 seconds. Reducing it to 1800 or 900 might be enough to keep your connection alive without adding significant network traffic. echo 1800 >/proc/sys/net/ipv4/tcp_keepalive_time -- Jim Tittsler GPG: 0x01159DB6 Kanto Computer Calendar http://www.OnJapan.net/calendar/ Python Starship http://Starship.Python.net/
- Follow-Ups:
- Re: [tlug] NEC Aterm DR302 and SSH timeouts
- From: Ian Barwick
- References:
- [tlug] NEC Aterm DR302 and SSH timeouts
- From: Ian Barwick
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] playing real video with an open source player
- Next by Date: [tlug] character input q's
- Previous by thread: [tlug] NEC Aterm DR302 and SSH timeouts
- Next by thread: Re: [tlug] NEC Aterm DR302 and SSH timeouts
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links