Re: sshd Problem
On 27.09.05 10:45:34, Klaus Schuehler wrote:
>
>
> >> >> authorized_keys Datei wird nicht angenommen. Es wird zwar
> >> > Dateisystemrechte fuer authorized_keys und Umgebung?
> >>
> >> /home/klaus/.ssh
> >> -rw-r--r-- 1 klaus klaus 1422 2005-06-25 09:27 authorized_keys
> >>
> >> Das Verz. /home/klaus/.ssh
> >>
> >> drwxr-xr-x 2 klaus klaus 1024 2005-09-26 20:31 .ssh
> > das ist zuviel.
> > /home/klaus/.ssh/authorized_keys
> > -rw------- 1 klaus klaus 1422 2005-06-25 09:27 authorized_keys
> > /home/klaus/.ssh/
> > drwx------ 2 klaus klaus 1024 2005-09-26 20:31 .ssh
>
> > damit sollte es gehen....
>
> > Greets Marcel
>
> der Schlüssel wird nun genommen. Es ist aber trotzdem Möglich sich
> ohne Schlüssel einzuloggen obwohl PubkeyAuthentication auf yes steht.
Das liegt daran dass du die PAM-Module einbindest und dann laeuft das
halt so ab, dass er erst mittels key versucht und dann auf PAM
zurueckfaellt und wenn deine PAM-Config dann keyboard-interactive
erlaubt kannste wieder login+passwort eingeben... Also entweder
PAM-Authorisierung für sshd ganz abschalten (PAM*-Einstellung in der
config) oder aber PAM so konfigurieren, dass er fuer sshd kein
keyboard-interactive erlaubt.
Andreas
--
"Life, loathe it or ignore it, you can't like it."
-- Marvin, "Hitchhiker's Guide to the Galaxy"
Reply to: