From owner-freebsd-questions@FreeBSD.ORG Wed Jan 2 21:14:54 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 9030416A473 for ; Wed, 2 Jan 2008 21:14:54 +0000 (UTC) (envelope-from enyamada@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 497F013C458 for ; Wed, 2 Jan 2008 21:14:54 +0000 (UTC) (envelope-from enyamada@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so10096142pyb.10 for ; Wed, 02 Jan 2008 13:14:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=VngvkqnQuhwty5BnsCDmgV96joONH6AHYUyzVrnNj1I=; b=f3xS774QP3o4bv28F33MmvvlorQSop4m/2N8QqpymaukdgLsAMvLJsBhOofr7srkk1Z7qKWK6aUSJ+Lc8embAByxFick5zZCEWQrYVU93qfgEXeeerh5Et6VxHgfwZXOXnMDRrzHMn2c17kQw8XmiTWaKDxVTY3gXus+kNHMi2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=kTZm9tXEbAnd/jhRh+gz0uGKqb6Cz5tDSI25qO6nVu5ya2+xvWg9dDBRRfjY0XS+eEG8KNnHQ3cIHifyT8R8IJJLJGCV/HJ1OIpSofIeeztJ6uU/oqmEaoc/reDsHDEwGzoh3M8Nxy+FzxW6oE8WJlUR4qQhw7dF1IFx3We6tK8= Received: by 10.65.196.2 with SMTP id y2mr30499967qbp.83.1199307518729; Wed, 02 Jan 2008 12:58:38 -0800 (PST) Received: by 10.64.180.16 with HTTP; Wed, 2 Jan 2008 12:58:38 -0800 (PST) Message-ID: <90f80d730801021258s2efa4c77v2800ea7d254c1aa7@mail.gmail.com> Date: Wed, 2 Jan 2008 18:58:38 -0200 From: "Edson Noboru Yamada" To: "Forrest Aldrich" In-Reply-To: <477A8082.9030005@forrie.com> MIME-Version: 1.0 References: <477A8082.9030005@forrie.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Wed, 02 Jan 2008 21:14:54 -0000 Your last hint suggests that this is, in fact, a dns reverse resolution issue. Log into your server which is slow and try to resolve the ip address of the host you trying to connect from (for instance, if you trying to connect from 10.0.0.1 to 199.1.1.1, log into 199.1.1.1 and execute something like "nslookup 10.0.0.1"). If the command times out, you found the issue. hth On Jan 1, 2008 4:03 PM, Forrest Aldrich wrote: > 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. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >