From owner-freebsd-questions@FreeBSD.ORG Wed Jul 2 06:04:55 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6874537B401 for ; Wed, 2 Jul 2003 06:04:55 -0700 (PDT) Received: from ares.sublevel3.org (ares.sublevel3.org [195.119.0.175]) by mx1.FreeBSD.org (Postfix) with SMTP id 0088343FE1 for ; Wed, 2 Jul 2003 06:04:54 -0700 (PDT) (envelope-from csl@ares.sublevel3.org) Received: (qmail 1074 invoked by uid 502); 2 Jul 2003 13:04:51 -0000 Date: Wed, 2 Jul 2003 15:04:51 +0200 From: Christian Stigen Larsen To: freebsd-questions@freebsd.org Message-ID: <20030702130451.GA1034@sublevel3.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Subject: Re: ssh keepalives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2003 13:04:55 -0000 Quoting Steve Coile (scoile@nandomedia.com): | On Tue, 1 Jul 2003, Philip J. Koenig wrote: | > I'm having a problem with premature termination of ssh sessions [...] | | Is this a common problem with firewalls? We suffer from this problem | here, also, and I've thought it must be a misconfiguration with the | firewall or elsewhere in the netwrok. But since you mentioend it, | I'm rethinking my assessment. As Michal F. Hanula, it might be due to the firewall dropping idle TCP connections. At work I use PuTTY (http://www.chiark.greenend.org.uk/~sgtatham/putty/) for my outbound ssh sessions, and it supports a useful option: "Sending of null packets to keep session active" Settings this to, say, 60 seconds effectively prevents my sessions from being cut off. Unfortunately I haven't found any similar feature in the OpenSSH clients. Do they support such a feature? -- Christian Stigen Larsen -- http://csl.sublevel3.org -- mob: +47 98 22 02 15