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

Openssh et public_key authentification



Bonjour,
Depuis ma mise à jour d'Openssh hier, je n'arrive plus à me connecter
avec authentification clé publique. Le serveur me demande
systématiquement un mot de passe. J'ai fait les vérifications
préconisées par la faq de Openssh sans succès :

3.14 - I copied my public key to authorized_keys but public-key
authentication still doesn't work.

Typically this is caused by the file permissions on $HOME, $HOME/.ssh or
$HOME/.ssh/authorized_keys being more permissive than sshd allows by
default.

In this case, it can be solved by executing the following on the server.

    $ chmod go-w $HOME $HOME/.ssh
    $ chmod 600 $HOME/.ssh/authorized_keys

If this is not possible for some reason, an alternative is to set
StrictModes no in sshd_config, however this is not recommended.

Quelqu'un a-t'il le même problème ?
Merci


Reply to: