Linksys router and ssh time outs ...
Doug Hardie
bc979 at lafn.org
Mon Jul 10 07:45:11 UTC 2006
On Jul 10, 2006, at 00:11, Ted Mittelstaedt wrote:
>
> From: "User Freebsd" <freebsd at 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.
More information about the freebsd-questions
mailing list