From owner-freebsd-questions@FreeBSD.ORG Tue Jan 1 18:24:55 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F036D16A46B for ; Tue, 1 Jan 2008 18:24:55 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from forrie.com (demon.dce.harvard.edu [140.247.198.85]) by mx1.freebsd.org (Postfix) with ESMTP id BB63C13C4D1 for ; Tue, 1 Jan 2008 18:24:55 +0000 (UTC) (envelope-from forrie@forrie.com) Received: from forrest-aldrichs-macbook-pro.local (dsl092-075-097.bos1.dsl.speakeasy.net [66.92.75.97]) (authenticated bits=0) by forrie.com (8.14.1/8.13.8) with ESMTP id m01I3QKk002770 for ; Tue, 1 Jan 2008 13:03:32 -0500 (EST) (envelope-from forrie@forrie.com) Message-ID: <477A8082.9030005@forrie.com> Date: Tue, 01 Jan 2008 13:03:46 -0500 From: Forrest Aldrich User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/5329/Tue Jan 1 10:42:08 2008 on mail.forrie.com X-Virus-Status: Clean 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: Tue, 01 Jan 2008 18:24:56 -0000 First, thank you to others who posted about this issue. I altered /etc/ssh/sshd_config for UseDNS no, and noticed I get the prompt right away, however it still takes about 15 seconds after authentication to get a shell prompt. This is FreeBSD version: FreeBSD 6.3-PRERELEASE #7: Sat Dec 22 11:12:15 EST 2007 I noticed this behavior after the last system build and install. Prior to that, I didn't see problems like this. I don't see this problem with httpd (apache) etc. The DNS servers my ISP provides are quickly reachable and appear to be caching very well, so I doubt that's the issue. Conversely, and perhaps this is a hint, the GW I log in to has this problem, but if I log in from there to an internal system using the same exact version of FreeBSD, I don't have any problems like this at all. The difference being I also use internal DNS as well as /etc/hosts entries. Thanks.