Re: SSH Passwort Login abschalten
On 07.Feb 2005 - 11:41:42, Joerg Friedrich wrote:
> 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''.
Hier ist UsePAM auf yes, und sobald ich PasswordAuthentication auf no
setze kann ich mich nicht mehr per Passworteingabe anmelden - ich hab
weder an der sshd_config noch an dem PAM-Kram "rumgefingert"...
Andreas
--
Never look up when dragons fly overhead.
Reply to: