From a4c2f4cc9f1421b195e54c3954caefac2f4bd00f Mon Sep 17 00:00:00 2001 From: Brice Waegeneire Date: Wed, 16 Aug 2023 13:45:40 +0200 Subject: [PATCH] =?UTF-8?q?ssh:=20Correction=20commit=20pr=C3=A9c=C3=A9den?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoOpenSSH.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/HowtoOpenSSH.md b/HowtoOpenSSH.md index aad761cb..36283c6a 100644 --- a/HowtoOpenSSH.md +++ b/HowtoOpenSSH.md @@ -504,12 +504,12 @@ else fi $ grep ssh-authorized-commands ~/.ssh/authorized_keys command="/usr/local/libexec/ssh-authorized-commands /etc/ssh/authorized_command.d" ssh-ed25519 XXXXX commentaires -$ head -n-0 authorized_command.d/* -==> authorized_command.d/machine-id <== +$ head -n-0 /etc/ssh/authorized_command.d/* +==> /etc/ssh/authorized_command.d/machine-id <== #!/bin/sh cat /etc/machine-id -==> authorized_command.d/os-release <== +==> /etc/ssh/authorized_command.d/os-release <== #!/bin/sh cat /etc/os-release ~~~