Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Dec 2005 01:01:44 -0500
From:      Ugo Bellavance <ugob@camo-route.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: SSH no passwd auth doesn't work
Message-ID:  <dn5ts8$2gu$3@sea.gmane.org>
In-Reply-To: <20051206215204.GA79811@xor.obsecurity.org>
References:  <dn50md$2gu$1@sea.gmane.org> <20051206215204.GA79811@xor.obsecurity.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kris Kennaway wrote:
> On Tue, Dec 06, 2005 at 04:43:40PM -0500, Ugo Bellavance wrote:
>> Hi,
>>
>> 	I'm trying to disallow password auth on ssh (freebsd 5.4).  The only 
>> lines that contain "Password" are these:
>>
>> PasswordAuthentication no
>> #PasswordAuthentication yes
>> #PermitEmptyPasswords no
>> #KerberosOrLocalPasswd yes
>>
>> I restarted sshd (/etc/rc.d/sshd restart), without success, it will 
>> still accept password auth.
>>
>> Anyone has an idea?
> 
> Probably you need to modify your PAM config instead.
> 
> Kris

Thanks.  I just realized I had linux servers configured the same and 
they also allow password auth :(.

What are the consequences of disabling PAM?

Regards,

-- 
Ugo

-> Please don't send a copy of your reply by e-mail.  I read the list.
-> Please avoid top-posting, long signatures and HTML, and cut the 
irrelevant parts in your replies.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dn5ts8$2gu$3>