diff options
author | Colin Watson <cjwatson@debian.org> | 2008-04-06 11:14:35 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-04-06 11:14:35 +0000 |
commit | 0df2e6b41de8b35845aa2f297ef8d39b85ba3d47 (patch) | |
tree | 70f474ce5abb6147c4a45ce9b00b34797e6a4f44 /sshd_config.5 | |
parent | bfb5ee9d4b1a9dae5bc984975a9cf6c07a86492f (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.5 | 4 |
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 |
312 | Forces the execution of the command specified by | 312 | Forces the execution of the command specified by |
313 | .Cm ForceCommand , | 313 | .Cm ForceCommand , |
314 | ignoring any command supplied by the client. | 314 | ignoring any command supplied by the client and |
315 | .Pa ~/.ssh/rc | ||
316 | if present. | ||
315 | The command is invoked by using the user's login shell with the -c option. | 317 | The command is invoked by using the user's login shell with the -c option. |
316 | This applies to shell, command, or subsystem execution. | 318 | This applies to shell, command, or subsystem execution. |
317 | It is most useful inside a | 319 | It is most useful inside a |