Subject: Re: ssh connections dropping...?
To: None <current-users@NetBSD.org>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 10/25/2004 14:20:50
In message <20041025191757.GA1367@antioche.eu.org>, Manuel Bouyer writes:
>On Mon, Oct 25, 2004 at 01:30:29PM -0500, Peter Seebach wrote:
>> In message <20041025181938.GB705@antioche.eu.org>, Manuel Bouyer writes:
>> >Do you have keepalive turned on, and at which rate ?
>> >This could be a difference in setup on the client side.
>>
>> net.inet.tcp.keepidle = 14400
>> net.inet.tcp.keepintvl = 150
>> net.inet.tcp.keepcnt = 8
>>
>> Maybe I should change these?
>
>Maybe decrease keepintvl (and increase keepcnt).
>But first, check KeepAlive in ssh_config and sshd_config
sshd_config didn't have it set - but the sshd side is working fine with
my friend's laptop.
Interestingly, the default is "yes". And it's not turned off. So it
should be keeping the connection alive, and noticing problems. But it
doesn't; it just hangs.
-s