From mboxrd@z Thu Jan 1 00:00:00 1970 From: P@draigBrady.com Subject: Re: SSH Connections Lost After 1 minute idle Date: Wed, 14 Jul 2004 14:31:47 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <40F535C3.2050008@draigBrady.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: Jason Opperisano Cc: 'Real Cucumber' , netfilter@lists.netfilter.org Jason Opperisano wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 >=20 > Dunno if this is relevant--but I had similar symptoms SSH-ing to an Ope= nBSD > SSH server through IPTables on RH running through an OpenVPN tunnel > (RH/IPTables was the OVPN server)... I didn't really spend the proper = time > troubleshooting what was actually causing it--so this may not apply to = your > situation at all... (enough disclaimers yet?) >=20 > What fixed it for me was setting the following in sshd_config of the SS= H > server: >=20 > ClientAliveInterval 10 > ClientAliveCountMax 6 >=20 > Again--no idea if this is of any value to anyone... The corresponding settings for the client (if you want to do it there instead) are: serveraliveinterval 10 serveralivecountmax 6 client config is stored in ~/.ssh/config P=E1draig.