diff options
author | djm <djm> | 2008-03-27 00:02:02 +0000 |
---|---|---|
committer | djm <djm> | 2008-03-27 00:02:02 +0000 |
commit | 8df191f67ef43cfa791e65612268c2cbc92b9bdc (patch) | |
tree | c662f6641be831f05d082c5545c8ea566c27ecc2 /sshd_config.5 | |
parent | 240a6ce7e96e8cdfbd8860128a876dfbd4cb6683 (diff) | |
download | openssh-8df191f67ef43cfa791e65612268c2cbc92b9bdc.tar.gz |
- djm@cvs.openbsd.org 2008/03/25 11:58:02
[session.c sshd_config.5]
ignore ~/.ssh/rc if a sshd_config ForceCommand is specified;
from dtucker@ ok deraadt@ djm@
Diffstat (limited to 'sshd_config.5')
-rw-r--r-- | sshd_config.5 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sshd_config.5 b/sshd_config.5 index a2f19347..245ed946 100644 --- a/sshd_config.5 +++ b/sshd_config.5 @@ -34,8 +34,8 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: sshd_config.5,v 1.83 2008/02/11 07:58:28 jmc Exp $ -.Dd $Mdocdate: February 11 2008 $ +.\" $OpenBSD: sshd_config.5,v 1.84 2008/03/25 11:58:02 djm Exp $ +.Dd $Mdocdate: March 25 2008 $ .Dt SSHD_CONFIG 5 .Os .Sh NAME @@ -324,7 +324,9 @@ for more information on patterns. .It Cm ForceCommand Forces the execution of the command specified by .Cm ForceCommand , -ignoring any command supplied by the client. +ignoring any command supplied by the client and +.Pa ~/.ssh/rc +if present. The command is invoked by using the user's login shell with the -c option. This applies to shell, command, or subsystem execution. It is most useful inside a |