Extremely slow authentication via SSH on FreeBSD 6.0

Garrett Cooper youshi10 at u.washington.edu
Mon Jan 9 00:15:19 PST 2006


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 at u.washington.edu>
> To: <freebsd-questions at 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


More information about the freebsd-questions mailing list