aboutsummaryrefslogtreecommitdiffstats
path: root/sshexec.1
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-08 15:28:43 +0100
committerMattias Andrée <m@maandree.se>2025-02-08 15:28:43 +0100
commit14c9a4b9efbad54b3f4275b0d0678a688eb3f77b (patch)
treedf86b82d3aca125e420ecbfa59c910337d521f57 /sshexec.1
parentFix operand count check (diff)
downloadsshexec-14c9a4b9efbad54b3f4275b0d0678a688eb3f77b.tar.gz
sshexec-14c9a4b9efbad54b3f4275b0d0678a688eb3f77b.tar.bz2
sshexec-14c9a4b9efbad54b3f4275b0d0678a688eb3f77b.tar.xz
Forbid - and variable assigment formatted command
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--sshexec.110
1 files changed, 9 insertions, 1 deletions
diff --git a/sshexec.1 b/sshexec.1
index 6e087fa..b17cc82 100644
--- a/sshexec.1
+++ b/sshexec.1
@@ -211,6 +211,12 @@ utility forces the remote shell to treat each of the
as separate arguments and cause the shell to executing
them as a non-builtin command.
+.I command
+must not contain an equals sign
+.RB ( = )
+or be just a dash
+.RB (\(dq - \(dq).
+
.SH STDIN
The
.B sshexec
@@ -272,7 +278,9 @@ None.
None.
.SH RATIONALE
-None.
+The restrictions on
+.I command
+is in place to avoid unspecified behaviour.
.SH NOTES
None.