From fa31c2c5a3179897f8ecc9bb9f12252ec11e0ee5 Mon Sep 17 00:00:00 2001 From: Max-Julian Pogner Date: Sun, 11 Aug 2024 19:02:51 +0200 Subject: [PATCH] docs: borg serve: recommend using a simple shell (closes #3818) --- docs/usage/serve.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/usage/serve.rst b/docs/usage/serve.rst index 9294ba1926..4cc79200b0 100644 --- a/docs/usage/serve.rst +++ b/docs/usage/serve.rst @@ -48,6 +48,7 @@ Details about sshd usage: `sshd(8) `_ +to execute the command configured through the ``authorized_keys`` file +using ``"$SHELL" -c "$COMMAND"``, +setting a minimal shell implementation reduces the attack surface +associated with a feature-rich complex code base.