Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 00:44:21 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Cc:        User Freebsd <freebsd@hub.org>
Subject:   Re: Linksys router and ssh time outs ...
Message-ID:  <87172611-52D9-4395-8D42-0BF198DBDE9C@lafn.org>
In-Reply-To: <002a01c6a3f0$127a6ed0$3c01a8c0@coolf89ea26645>
References:  <20060708031809.H1799@ganymede.hub.org> <002a01c6a3f0$127a6ed0$3c01a8c0@coolf89ea26645>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jul 10, 2006, at 00:11, Ted Mittelstaedt wrote:

>
> From: "User Freebsd" <freebsd@hub.org>
>>
>> I just put a linksys router in place, so that we could use our  
>> wireless
>> laptop, well, wireless ... now, I seem to be getting timeouts on  
>> my ssh
>> connections when they are idle, but timeouts that I never received  
>> when I
>> had my desktop directly connected to the cable modem ...
>>
>> I've looked at the settings for the Linksys, and can't find  
>> anything that
>> might be related ... is there some keepalive that the linksys  
>> might be
>> blocking, or something else that I can do to keep the connection from
>> dropping?
>>
>
> Some of the Netgear routers allow you to telnet into the router and  
> change
> a config setting for the timeouts for specific protocols.  But I've  
> never
> heard the linksys allowing this.
>
> You might be lucky and your linksys might be one of the ones that can
> run an alternative firmware.  If so, flash it to one of the open  
> source
> firmwares and it should fix the problem.

You can also put lines like:

ServerAliveInterval 300
ServerAliveCountMax 3


in ssh_config.  That will cause ssh to send periodic alive messages.   
I use those to avoid the same problem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87172611-52D9-4395-8D42-0BF198DBDE9C>