From owner-freebsd-questions@FreeBSD.ORG Wed May 13 05:24:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15B6B106566B for ; Wed, 13 May 2009 05:24:59 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id EAD1F8FC0A for ; Wed, 13 May 2009 05:24:58 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.3/8.14.3) with ESMTP id n4D5OwDX072820; Tue, 12 May 2009 22:24:58 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.3/8.14.3/Submit) id n4D5OwMc072817; Tue, 12 May 2009 22:24:58 -0700 (PDT) (envelope-from sgk) Date: Tue, 12 May 2009 22:24:58 -0700 From: Steve Kargl To: Chuck Robey Message-ID: <20090513052458.GA44104@troutmask.apl.washington.edu> References: <20090513050333.GA4509@troutmask.apl.washington.edu> <4A0A5784.3030807@telenix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A0A5784.3030807@telenix.org> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Disabling ssh timeouts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 05:24:59 -0000 On Wed, May 13, 2009 at 01:15:48AM -0400, Chuck Robey wrote: > Steve Kargl wrote: > > Is there anyway to disable sshd from timing out a connection? > > I've tried setting ClientAliveCountMax and ClientAliveInterval > > and TCPKeepAlive in sshd.conf, but no combination that I've > > tried has worked. > > > > Just saw this answer recently, I forget where, but you set the > TCPKeepAlive on, I think that's in /etc/ssh/sshd_config. I liked > that one, because in retrospect it's obvious (not so obvious when > you need it, but it does make sense now). Thanks, Chuck. I thought I tried that option. Perhaps, I set it on the worng system. I'll go check my config files. -- Steve