diff options
author | 2008-03-25 11:58:02 +0000 | |
---|---|---|
committer | 2008-03-25 11:58:02 +0000 | |
commit | 264b64f6b445a83b46ec626f6fce16a19368c8c3 (patch) | |
tree | 9da0d36b25c77b011553f605470e32df5537ff99 /usr.bin/ssh/sshd_config.5 | |
parent | section 3, Darrin Chandler (diff) | |
download | wireguard-openbsd-264b64f6b445a83b46ec626f6fce16a19368c8c3.tar.xz wireguard-openbsd-264b64f6b445a83b46ec626f6fce16a19368c8c3.zip |
ignore ~/.ssh/rc if a sshd_config ForceCommand is specified;
from dtucker@ ok deraadt@ djm@
Diffstat (limited to 'usr.bin/ssh/sshd_config.5')
-rw-r--r-- | usr.bin/ssh/sshd_config.5 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/ssh/sshd_config.5 b/usr.bin/ssh/sshd_config.5 index a6d8eed6255..9212eb5ac5b 100644 --- a/usr.bin/ssh/sshd_config.5 +++ b/usr.bin/ssh/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 |