Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2008 18:58:38 -0200
From:      "Edson Noboru Yamada" <enyamada@gmail.com>
To:        "Forrest Aldrich" <forrie@forrie.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Extremely slow authentication via SSH on FreeBSD 6.0
Message-ID:  <90f80d730801021258s2efa4c77v2800ea7d254c1aa7@mail.gmail.com>
In-Reply-To: <477A8082.9030005@forrie.com>
References:  <477A8082.9030005@forrie.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <forrie@forrie.com> 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"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90f80d730801021258s2efa4c77v2800ea7d254c1aa7>