ssh: Correction commit précédent

This commit is contained in:
Brice Waegeneire 2023-08-16 13:45:40 +02:00
parent b15afcf7ca
commit a4c2f4cc9f

View file

@ -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
~~~