ssh: Correction commit précédent
This commit is contained in:
parent
b15afcf7ca
commit
a4c2f4cc9f
|
@ -504,12 +504,12 @@ else
|
||||||
fi
|
fi
|
||||||
$ grep ssh-authorized-commands ~/.ssh/authorized_keys
|
$ grep ssh-authorized-commands ~/.ssh/authorized_keys
|
||||||
command="/usr/local/libexec/ssh-authorized-commands /etc/ssh/authorized_command.d" ssh-ed25519 XXXXX commentaires
|
command="/usr/local/libexec/ssh-authorized-commands /etc/ssh/authorized_command.d" ssh-ed25519 XXXXX commentaires
|
||||||
$ head -n-0 authorized_command.d/*
|
$ head -n-0 /etc/ssh/authorized_command.d/*
|
||||||
==> authorized_command.d/machine-id <==
|
==> /etc/ssh/authorized_command.d/machine-id <==
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cat /etc/machine-id
|
cat /etc/machine-id
|
||||||
|
|
||||||
==> authorized_command.d/os-release <==
|
==> /etc/ssh/authorized_command.d/os-release <==
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
~~~
|
~~~
|
||||||
|
|
Loading…
Reference in a new issue