[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSH Passwort Login abschalten



Thomas Schoepfer schrieb am Montag, 07. Februar 2005 um 11:24:35 +0100:
> Ich habe in /etc/ssh/sshd_conf die "PasswordAuthentication"
> auf "no" gestellt. Trotzdem kann man sich noch per
> Username/Passwort einloggen. Das hängt vermutlich mit
> PAM zusammen. Dazu finde ich leider keine verständliche Anleitung.
> Früher hat das so funktioniert.
> 
> Kann ich dieses PAM-Zeug irgendwie deaktivieren,
> ohne schlimme Nebenwirkungen?
> Oder kann man "PasswordAuthentication" in /etc/pam.d/ssh einstellen?
aus man 5 sshd_config:
     UsePAM  Enables PAM authentication (via challenge-response) and
     session set up.  If you enable this, you should probably disable
                  PasswordAuthentication.  If you enable then you will
		  not be able to run sshd as a non-root user.  The
		  default is ``no''.




-- 
Jörg Friedrich

There are only 10 types of people:
Those who understand binary and those who don't.

Attachment: signature.asc
Description: Digital signature


Reply to: