From 9830b065341d0c4a040c2a405ebe8690b238978c Mon Sep 17 00:00:00 2001 From: Arian Nasr Date: Tue, 17 Mar 2026 22:02:39 -0400 Subject: [PATCH] docs --- ssh-restrictions.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 ssh-restrictions.md diff --git a/ssh-restrictions.md b/ssh-restrictions.md new file mode 100644 index 0000000..372aa03 --- /dev/null +++ b/ssh-restrictions.md @@ -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` \ No newline at end of file