From owner-freebsd-questions@FreeBSD.ORG Wed Feb 23 15:03:25 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DE4E16A4CE for ; Wed, 23 Feb 2005 15:03:25 +0000 (GMT) Received: from freebsdportal.com (freebsdportal.com [161.58.142.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0919B43D1F for ; Wed, 23 Feb 2005 15:03:25 +0000 (GMT) (envelope-from jdf@freebsdportal.com) Received: from freebsdportal.com (localhost [127.0.0.1]) by freebsdportal.com (8.13.1/8.13.1) with ESMTP id j1NF3NGd060807 for ; Wed, 23 Feb 2005 15:03:24 GMT Received: (from jdf@localhost) by freebsdportal.com (8.13.1/8.13.1/Submit) id j1NF3KlZ060781 for questions@freebsd.org; Wed, 23 Feb 2005 15:03:20 GMT Date: Wed, 23 Feb 2005 15:03:19 +0000 From: Jim Freeze To: questions@freebsd.org Message-ID: <20050223150319.GA52979@freeze.org> References: <20050222211148.GA39859@freeze.org> <20050222223143.GA4217@Grumpy.DynDNS.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050222223143.GA4217@Grumpy.DynDNS.org> User-Agent: Mutt/1.4.2.1i Subject: Re: SSH terminal locking up from OS X to FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Feb 2005 15:03:25 -0000 * Doug Hardy > The localhost is trying to send the 40 bytes in its buffer. It is not > receiving and ACK from remotemachine so it retries until it eventually > gives up. The F flag is localhost issuing a FIN to remotemachine to > drop the TCP connection. It tries a couple times and then likewise > gives up. I would recommend a ktrace on the server to see if it > yields any additional information. My guess is that the sshd process > has died. syslog might not be set to catch the error it may be > generating. ktrace will show all the syslog calls Well, I cannot run ktrace on this particular server. I did run it on the client, but I'm not sure that is much help. Yup, that is what has happened. The sshd process (pid 45244 and 45265 below) is dying (not the /usr/sbin/sshd one). root 52394 0.0 0.0 1000 340 p0 DL+ 2:54PM 0:00.00 grep ssh root 60244 0.0 0.1 2404 1624 ?? Ss 8:45AM 0:00.46 /usr/sbin/sshd root 45244 0.0 0.1 5056 1840 ?? Is 2:45PM 0:00.03 sshd: jdf [priv] (sshd) jdf 45265 0.0 0.1 5000 1848 ?? S 2:45PM 0:00.04 sshd: jdf@ttyp0 (sshd) So, why would this be dying when I login with a Mac and not from linux? Is the mac not pinging the server to remind it not to doze off into unconsciousness? -- Jim Freeze