diff --git a/docs/usage/serve.rst b/docs/usage/serve.rst index 9294ba1926..acd8c876de 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 +compared to when a feature-rich and complex shell implementation is +used.