summaryrefslogtreecommitdiff
path: root/sshd_config.5
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-04-06 11:14:35 +0000
committerColin Watson <cjwatson@debian.org>2008-04-06 11:14:35 +0000
commit0df2e6b41de8b35845aa2f297ef8d39b85ba3d47 (patch)
tree70f474ce5abb6147c4a45ce9b00b34797e6a4f44 /sshd_config.5
parentbfb5ee9d4b1a9dae5bc984975a9cf6c07a86492f (diff)
Backport from 4.9p1:
- Ignore ~/.ssh/rc if a sshd_config ForcedCommand is specified (see http://www.securityfocus.com/bid/28531/info). - Add no-user-rc authorized_keys option to disable execution of ~/.ssh/rc.
Diffstat (limited to 'sshd_config.5')
-rw-r--r--sshd_config.54
1 files changed, 3 insertions, 1 deletions
diff --git a/sshd_config.5 b/sshd_config.5
index fab43af42..a7a7227b2 100644
--- a/sshd_config.5
+++ b/sshd_config.5
@@ -311,7 +311,9 @@ for more information on patterns.
311.It Cm ForceCommand 311.It Cm ForceCommand
312Forces the execution of the command specified by 312Forces the execution of the command specified by
313.Cm ForceCommand , 313.Cm ForceCommand ,
314ignoring any command supplied by the client. 314ignoring any command supplied by the client and
315.Pa ~/.ssh/rc
316if present.
315The command is invoked by using the user's login shell with the -c option. 317The command is invoked by using the user's login shell with the -c option.
316This applies to shell, command, or subsystem execution. 318This applies to shell, command, or subsystem execution.
317It is most useful inside a 319It is most useful inside a