From owner-freebsd-questions@FreeBSD.ORG Mon Jan 9 12:48:20 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 D074116A424 for ; Mon, 9 Jan 2006 12:48:20 +0000 (GMT) (envelope-from steve@digitalbluesky.net) Received: from harmony.digitalbluesky.net (dsl093-010-046.cle1.dsl.speakeasy.net [66.93.10.46]) by mx1.FreeBSD.org (Postfix) with SMTP id 35F3143D46 for ; Mon, 9 Jan 2006 12:48:20 +0000 (GMT) (envelope-from steve@digitalbluesky.net) Received: (qmail 8026 invoked by uid 89); 9 Jan 2006 12:49:01 -0000 Message-ID: <20060109124901.8025.qmail@harmony.digitalbluesky.net> References: <20060109120044.37F2916A41F@hub.freebsd.org> In-Reply-To: <20060109120044.37F2916A41F@hub.freebsd.org> From: "steve" To: freebsd-questions@freebsd.org Date: Mon, 09 Jan 2006 07:49:01 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 12:48:21 -0000 > 2. Re: Extremely slow authentication via SSH on FreeBSD 6.0 > (Ashley Moran) > Message: 2 > Date: Mon, 9 Jan 2006 10:36:14 +0000 > From: Ashley Moran > Subject: Re: Extremely slow authentication via SSH on FreeBSD 6.0 > To: freebsd-questions@freebsd.org > Message-ID: <200601091036.14827.work@ashleymoran.me.uk> > Content-Type: text/plain; charset="iso-8859-1" > > On Monday 09 January 2006 08:18, Garrett Cooper wrote: >> I should be more specific. Setting UseDNS to no did the trick. >> Maybe sshd was confused by my hostname setup in /etc/hosts, but I'm not >> going to speculate there. All that I know is that it works like it used to >> =). >> -Garrett > > > I've had this problem before. You can keep DNS turned on if /etc/resolv.conf > contains reachable nameservers. The DNS lookup timeout in sshd is very long > > Ashley 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?