Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 22:24:58 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Chuck Robey <chuckr@telenix.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Disabling ssh timeouts?
Message-ID:  <20090513052458.GA44104@troutmask.apl.washington.edu>
In-Reply-To: <4A0A5784.3030807@telenix.org>
References:  <20090513050333.GA4509@troutmask.apl.washington.edu> <4A0A5784.3030807@telenix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090513052458.GA44104>