From f620a155d2ce54fddb7151496d8790475ad515b3 Mon Sep 17 00:00:00 2001 From: Doc_Nimbus Date: Sun, 9 May 2021 18:34:38 +0200 Subject: [PATCH] Juste le bon chemin vers sshd_config --- pages/02.applications/02.docs/my_webapp/app_my_webapp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/02.applications/02.docs/my_webapp/app_my_webapp.md b/pages/02.applications/02.docs/my_webapp/app_my_webapp.md index 2726c58d..bc875cef 100644 --- a/pages/02.applications/02.docs/my_webapp/app_my_webapp.md +++ b/pages/02.applications/02.docs/my_webapp/app_my_webapp.md @@ -16,7 +16,7 @@ The application creates a new user with limited rights: it can connect (with a p This configuration requires updating the site content manually, with a password connection. If you want to automate things, you need to be able to connect without typing a password (i.e. "non-interactive"). Here are the steps to follow to get there: -- Enable public key connection, in `/etc/ssh/ssh/sshd_config`, on the server +- Enable public key connection, in `/etc/ssh/sshd_config`, on the server - Create a public/private key pair for your script on the "writing" computer - without a protective passphrase. - Copy the public key to the server, in `/var/www/my_webapp(__#)/.ssh/authorized_keys` - Set the user `webapp#` as owner of the file and directory