Re: SSH
Ainsi parlait Frédéric LEGER :
> Bonjour a tous,
>
> Bon je me doutes que la reponse a ma question doit bien se trouver
> quelquepart, mais pas moyen de la trouver ni le man de sshd ni google
> ni la doc dans /usr/doc/ssh ne me donnes la reponse en clair...
>
> Ma question est la suivante comment configure t'on ssh pour ne pas
> accepter les logins avec les users/passwords de /etc/passwd mais
> seulment un login via une clé RSA ?
grep -i auth /etc/ssh/sshd_config
# Uncomment if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication
SyslogFacility AUTH
RhostsAuthentication no
RhostsRSAAuthentication no
HostbasedAuthentication no
RSAAuthentication yes
PasswordAuthentication yes <---------- LÀ !
#ChallengeResponseAuthentication no
# Uncomment to enable PAM keyboard-interactive authentication
# Warning: enabling this may bypass the setting of
# 'PasswordAuthentication'
#PAMAuthenticationViaKbdInt yes
#KerberosAuthentication no
PasswordAuthentication
Specifies whether password authentication is allowed.
The default is ``yes''.
Essayes avec 'no'. Non testé mais c'est sans doute ça.
--
Charles
--
To UNSUBSCRIBE, email to debian-user-french-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to:
- Follow-Ups:
- Re: SSH
- From: "stephane reboullet" <stephane.reboullet@ac-aix-marseille.fr>
- References:
- SSH
- From: Frédéric LEGER <leger_frederic@yahoo.fr>