SSH no passwd auth doesn't work

Ugo Bellavance ugob at camo-route.com
Tue Dec 6 22:11:39 PST 2005


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.



More information about the freebsd-questions mailing list