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

Re: SSH ohne PAM = english



Am Samstag, 22. Oktober 2005 11:35 schrieb Andreas Pakulat:
> On 22.10.05 11:05:13, Mario 'BitKoenig' Holbe wrote:
> > Jim Knuth <jk@jkart.de> wrote:
> > > ich habe ein merkwürdiges Phänomen.
> > > Um nur per PubkeyAuthentication auf den Server zu kommen, also
> > > ohne Passworteingabe, musste ich UsePAM no nehmen. Das
> >
> > Das ist in der Tat ein merkwuerdiges Phaenomen.
> >
> > $ egrep '(Pubkey|PAM)' /etc/ssh/sshd_config
> > PubkeyAuthentication yes
> > UsePAM yes
>
> Und bei dir geht nur Pupkey-Auth? Sprich wenn du keinen Pupkey hast
> kommt keine Passwordabfrage? Dann hast du an der PAM-Configuration
> noch gedreht, die Standardkonfiguration in Debian erlaubt naemlich
> eine Passworteingabe, wenn PAM in der sshd-config aktiviert ist.

Nein an der PAM Config muss man nicht drehen. Es reicht:

ChallengeResponseAuthentication no
PasswordAuthentication no

zu setzen. Dann kann UsePAM auch anbleiben. Macht dann allerdings nicht 
mehr viel Sinn.

-- 
Markus Schulz

Ein wenig wie Windows: entweder es geht
einfach oder gar nicht.



Reply to: