From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 01:01:46 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA6616A420 for ; Tue, 4 Dec 2007 01:01:46 +0000 (UTC) (envelope-from diabeticithink@yahoo.com) Received: from smtp115.plus.mail.re1.yahoo.com (smtp115.plus.mail.re1.yahoo.com [69.147.102.78]) by mx1.freebsd.org (Postfix) with SMTP id 3C02913C46E for ; Tue, 4 Dec 2007 01:01:46 +0000 (UTC) (envelope-from diabeticithink@yahoo.com) Received: (qmail 23431 invoked from network); 4 Dec 2007 00:40:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-YMail-OSG:From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:X-MimeOLE:Thread-Index; b=0Q68zR68YCFQbX3Ol2zK3riDyb4JEemNeOuvvl1JfCjbnkr4jdjrzHn/44SORzXMqD/Wvzr/4LD697WoPvZsIglpYh+DV+7iVNVI0a98JkGAvFXohf2jIROfpO2B4HAzbQUkpiFrpA0vHBLAFES2w1h5Q2l1ZhdSynFK098kFlA= ; Received: from unknown (HELO ownerPCvista) (diabeticithink@69.143.129.74 with login) by smtp115.plus.mail.re1.yahoo.com with SMTP; 4 Dec 2007 00:40:42 -0000 X-YMail-OSG: iYrJhqsVM1m2k7p.evmWAHhlWOKkHJG9Ym4cI4PWeJxeHfsg From: "Anne Moore" To: "'Kevin Kinsey'" References: <20071204002629.GA28076@archangel.daleco.biz> In-Reply-To: <20071204002629.GA28076@archangel.daleco.biz> Date: Mon, 3 Dec 2007 19:40:35 -0500 Message-ID: <11AC2944E9AC41C19626AE2FC192D509@ownerPCvista> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 Thread-Index: Acg2DFJma+ulxA7dT4ydSNe1IAMmMQAAdLqA Cc: questions@freebsd.org Subject: RE: SSH disconnects very troubling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 01:01:46 -0000 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 > > 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