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

Re: ssh-Zugang nur mit key (ohne PW)



Dirk Schleicher wrote:
> Hallo Leute,

Hallo Dirk,

> 
> ich möchte mein SSH Zugang so einrichten, das wenn nur ein entspr. Key
> vorhanden ist, der Zugang gewährt wird.
> Ich dachte, ich hätte es so eingestellt, aber dann konnte ich mit putty
> auch ohne den Schlüssel, nur mit meinem normalen Benutzer PW, drauf
> zugreifen.

Schau mal in deine /etc/ssh/sshd_config bzw. lese die Manpage dazu. Du
musst natürlich auch den Passwort-Login deaktivieren.

# Uncomment to disable s/key passwords
ChallengeResponseAuthentication no
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
# Disabled password login
UsePAM yes

> Danke
> 
> Dirk

Claus



-- 
Claus Malter <debian sprayen dot de>
GnuPG-ID: 0x08B86210 http://wwwkeys.de.pgp.net
Blog: http://claus.freakempire.de/



Reply to: