SSH disconnects very troubling

Anne Moore diabeticithink at
Mon Dec 3 17:01:46 PST 2007

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


-----Original Message-----
From: Kevin Kinsey [mailto:kdk at] 
Sent: Monday, December 03, 2007 7:26 PM
To: diabeticithink at
Cc: questions at
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 > 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

ClientAliveInterval 30
ClientAliveCountMax  10


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

More information about the freebsd-questions mailing list