Date: Wed, 13 May 2009 13:02:03 +0200 From: Uwe Laverenz <uwe@laverenz.de> To: freebsd-questions@freebsd.org Subject: Re: Disabling ssh timeouts? Message-ID: <4A0AA8AB.3050608@laverenz.de> In-Reply-To: <20090513050333.GA4509@troutmask.apl.washington.edu> References: <20090513050333.GA4509@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Kargl schrieb: > 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. Possibly it's not ssh that closes the connection. Are there any routers between your machine and the remote one? If this is the case it could be one of the routers that has a low timeout for recognizing a connection as "alive". This happens especially if NAT is used, because the router has to keep a table of ip:port pairs for each connection. This should happen only if there is no traffic on the connection within this timeout limit. Uwe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A0AA8AB.3050608>