summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh_config.5
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2009-11-10 02:56:23 +0000
committerDamien Miller <djm@cvs.openbsd.org>2009-11-10 02:56:23 +0000
commit126cd2f8fa7b3985a35c8486247048281e9557e4 (patch)
treedff2ff2381a1612e6b5932b782ffb82592c8376a /usr.bin/ssh/ssh_config.5
parent8ed52fd311c55d2b4f21f2efb81fb5da5ebc1a32 (diff)
explain the constraints on LocalCommand some more so people don't
try to abuse it.
Diffstat (limited to 'usr.bin/ssh/ssh_config.5')
-rw-r--r--usr.bin/ssh/ssh_config.511
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5
index fde899477a6..001130936cd 100644
--- a/usr.bin/ssh/ssh_config.5
+++ b/usr.bin/ssh/ssh_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: ssh_config.5,v 1.122 2009/10/28 16:38:18 reyk Exp $
-.Dd $Mdocdate: October 28 2009 $
+.\" $OpenBSD: ssh_config.5,v 1.123 2009/11/10 02:56:22 djm Exp $
+.Dd $Mdocdate: November 10 2009 $
.Dt SSH_CONFIG 5
.Os
.Sh NAME
@@ -616,6 +616,13 @@ The following escape character substitutions will be performed:
(remote user name) or
.Ql %u
(local user name).
+.Pp
+The command is run synchronously and does not have access to the
+session of the
+.Xr ssh 1
+that spawned it.
+It should not be used for interactive commands.
+.Pp
This directive is ignored unless
.Cm PermitLocalCommand
has been enabled.