Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2006 00:16:10 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Dave <dmehler26@woh.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Extremely slow authentication via SSH on FreeBSD 6.0
Message-ID:  <79C69FC8-EDF0-4417-847D-6CED49EA6807@u.washington.edu>
In-Reply-To: <000d01c614ef$c85ec0b0$0900a8c0@satellite>
References:  <4053413D-A3D3-4553-A1C9-49E92CD1D1F9@u.washington.edu> <8C520B67-731D-4064-967F-BDD017FE3C28@disflux.com> <94556B3B-CA17-40D0-BC5B-1D35CA87CBE7@u.washington.edu> <000d01c614ef$c85ec0b0$0900a8c0@satellite>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jan 8, 2006, at 11:39 PM, Dave wrote:

> Hi,
>    I caught this midthread, but two things. Are you running sshd in  
> a jail? And do you have dns resolving? I recently had an ssh slow  
> authentication issue, which when found was dns not resolving. Try  
> setting UseDns to no in sshd_config see if that helps.
> HTH
> Dave.
>
> ----- Original Message ----- From: "Garrett Cooper"  
> <youshi10@u.washington.edu>
> To: <freebsd-questions@freebsd.org>
> Sent: Monday, January 09, 2006 2:42 AM
> Subject: Re: Extremely slow authentication via SSH on FreeBSD 6.0
>
>
>>
>> On Jan 8, 2006, at 9:10 PM, Derek Musselmann wrote:
>>
>>> On Jan 8, 2006, at 7:21 PM, Garrett Cooper wrote:
>>>> I'm having a hard time authenticating after upgrading the  
>>>> kernel  and some packages, and I was wondering if someone could  
>>>> help me  out with this issue. I marked the trouble points and  
>>>> included my  sshd_config.
>>>
>>> I noticed in your sshd_config that you have:
>>>
>>> # Change to yes to enable built-in password authentication.
>>> PasswordAuthentication yes
>>> PermitEmptyPasswords no
>>>
>>> # Change to no to disable PAM authentication
>>> ChallengeResponseAuthentication no
>>>
>>>
>>> By default, ssh uses PAM for authentication.  By commenting  
>>> those  lines out, it doesn't mean that password checking won't be  
>>> done,  just that it will be handled with PAM.
>>>
>>> And then later in the file you have:
>>> UsePAM yes
>>>
>>> Try commenting out the PasswordAuthentication,   
>>> PermitEmptyPasswords, and ChallengeResponse lines.
>>>
>>> -----
>>> Derek Musselmann
>>> http://www.disflux.com
>>
>> Tried exactly that, and it doesn't seem to have change the   
>> performance, actually =\... It still hangs in the same location,   
>> strangely enough.
>> -Garrett

VOILA! Gratzi sir!
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79C69FC8-EDF0-4417-847D-6CED49EA6807>