From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 17:22:46 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 50D2E16A420 for ; Mon, 9 Jan 2006 17:22:46 +0000 (GMT) (envelope-from arb46@cornell.edu) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id F3A2243D45 for ; Mon, 9 Jan 2006 17:22:45 +0000 (GMT) (envelope-from arb46@cornell.edu) Received: (qmail 4243 invoked from network); 9 Jan 2006 17:22:45 -0000 Received: from dsl092-028-179.sfo4.dsl.speakeasy.net (HELO localhost) (alanbram@[66.92.28.179]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Jan 2006 17:22:45 -0000 Date: Mon, 09 Jan 2006 10:18:33 -0800 (PST) Message-Id: <20060109.101833.25913767.arb46@cornell.edu> To: steve@digitalbluesky.net From: Alan Bram In-Reply-To: <20060109124901.8025.qmail@harmony.digitalbluesky.net> References: <20060109120044.37F2916A41F@hub.freebsd.org> <20060109124901.8025.qmail@harmony.digitalbluesky.net> X-Mailer: Mew version 3.3 on Emacs 21.4 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Extremely slow authentication via SSH on FreeBSD 6.0 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: Mon, 09 Jan 2006 17:22:46 -0000 Boy, talk about good timing! I just joined this list yesterday. The reason I joined was to see if I could get any help solving what appears to have been (approximately) this same problem. I also had the problem of extremely slow SSH authentication. In fact, it was so slow that at first I thought is was simply dead, because most often it would time out and give up. In my case, I had not made any changes to the system whatsoever. SSH had been working fine since I originally installed FreeBSD 5.4 a few months ago. But then a few days ago it just suddenly started having this problem. In my case, Apache did _NOT_ seem to be suffering from the same problem. I changed my sshd configuration to set UseDNS to no, and that seems to have fixed the problem. So I'm quite happy, and grateful. However, it does leave me curious ... Something must have changed in my network (a small home network on a DSL router), I guess, but I don't know what. > I posted a similiar problem on Sunday but didn't get any responses. I > turned off DNS in the sshd_config file and the sshd time out problem went > away for me as well. Actually I had to turn off dns lookup up for apache > and proftpd as well because those services were running extremely slow or > not responding. > > If you've not made any modifications to your system, why would this happen?