Disabling ssh timeouts?

Steve Kargl sgk at troutmask.apl.washington.edu
Wed May 13 05:24:59 UTC 2009


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


More information about the freebsd-questions mailing list