This commit is contained in:
2026-03-17 22:02:39 -04:00
parent effbcd15e3
commit 9830b06534

4
ssh-restrictions.md Normal file
View File

@@ -0,0 +1,4 @@
allow command `cat /path/to/files/certificate.crt` using the specified SSH key:\
`command="cat /path/to/files/certificate.crt",restrict ssh-ed25519 AAAAC3Nza...[key_content]... server-a`
make user with no permissions and put ^ in `.ssh/authorized_keys`