Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Dec 2007 19:40:35 -0500
From:      "Anne Moore" <diabeticithink@yahoo.com>
To:        "'Kevin Kinsey'" <kdk@daleco.biz>
Cc:        questions@freebsd.org
Subject:   RE: SSH disconnects very troubling
Message-ID:  <11AC2944E9AC41C19626AE2FC192D509@ownerPCvista>
In-Reply-To: <20071204002629.GA28076@archangel.daleco.biz>
References:  <20071204002629.GA28076@archangel.daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks, Kevin. This may well work with the SSH, but it's actually
disconnecting all my clients, telnet, Oracle, etc. There is a config for
telnet, but nothing for Oracle (that I know of). Also, ldap, etc. It's the
strangest thing!!

thank you though for response

Anne 

-----Original Message-----
From: Kevin Kinsey [mailto:kdk@daleco.biz] 
Sent: Monday, December 03, 2007 7:26 PM
To: diabeticithink@yahoo.com
Cc: questions@freebsd.org
Subject: Re: SSH disconnects very troubling


Anne Moore wrote:
> Whenever my users connect to my FreeBSD system, they are automatically 
> disconnected after 1 minute of inactivity. This happens no matter if 
> they are connected to our Oracle instance or SSH or Telnet, or anything.
> It's like the server "hangs-up" on them after no activity for a minute 
> or so.
>  
> I ran tcpdump during and received this error on the disconnect:
>  
> 17:20:21.362159 IP 192.168.8.90.56141 > myhost1.rdm.loc.ssh: . 
> ack 233 win 33303 <nop,nop,timestamp 2469825 98100123>
>  
> I'm stumped! Does anyone have any idea why this might be happening?

I recently had trouble with this issue after a change in service providers
between my office and some servers, although, IIRC, it was more than just
one minute until the disconnect.

Adding this to /etc/ssh/sshd_config on the servers seems to have fixed the
issue:

ClientAliveInterval 30
ClientAliveCountMax  10

HTH,

Kevin Kinsey
--
I should have been a country-western singer.  After all, I'm older than most
western countries.
		-- George Burns




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