From 527939e7d9a8abfe446f92a5be26367097ae7f59 Mon Sep 17 00:00:00 2001 From: btatu Date: Fri, 11 Mar 2022 12:01:57 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20directive=20pour=20v=C3=A9rif?= =?UTF-8?q?ier=20que=20l'option=20publckey=20est=20active?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoProFTPD.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/HowtoProFTPD.md b/HowtoProFTPD.md index 41bcd4d6..7904c349 100644 --- a/HowtoProFTPD.md +++ b/HowtoProFTPD.md @@ -590,9 +590,10 @@ Si l'on peut lire le contenu du répertoire, alors la connexion est fonctionnell ### Authentification par clé SSH -On peut gérer des clés SSH avec la directive [SFTPAuthorizedUserKeys](http://www.proftpd.org/docs/contrib/mod_sftp.html#SFTPAuthorizedUserKeys) : +On peut gérer des clés SSH avec la directive [SFTPAuthorizedUserKeys](http://www.proftpd.org/docs/contrib/mod_sftp.html#SFTPAuthorizedUserKeys) et vérifier que la directive suivante contient bien l'option `publickey` : ~~~ +SFTPAuthMethods password publickey SFTPAuthorizedUserKeys file:/etc/proftpd/sftp.authorized_keys/%u ~~~