summaryrefslogtreecommitdiff
path: root/sshd_config.5
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2008-03-27 11:02:02 +1100
committerDamien Miller <djm@mindrot.org>2008-03-27 11:02:02 +1100
commita1b48ccf2d7383bc0cdc158324e400dd4f7ce87a (patch)
treec045e23f4ffb7046e6c19f086956710467a41661 /sshd_config.5
parente241e85ad3fd50fb94666ddaa52e44cbaae47fbb (diff)
downloadopenssh-git-a1b48ccf2d7383bc0cdc158324e400dd4f7ce87a.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.58
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