aboutsummaryrefslogtreecommitdiffstats
path: root/sshexec.1
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-02-08 17:17:30 +0100
committerMattias Andrée <m@maandree.se>2025-02-08 17:17:30 +0100
commit6c84566aad08dcfd49482e07543487ece4e23261 (patch)
tree6d217bbba0ed4044f84aca4b85cc6b5f68929d73 /sshexec.1
parentAdd cd option (diff)
downloadsshexec-6c84566aad08dcfd49482e07543487ece4e23261.tar.gz
sshexec-6c84566aad08dcfd49482e07543487ece4e23261.tar.bz2
sshexec-6c84566aad08dcfd49482e07543487ece4e23261.tar.xz
Add asis and nasis options
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'sshexec.1')
-rw-r--r--sshexec.120
1 files changed, 20 insertions, 0 deletions
diff --git a/sshexec.1 b/sshexec.1
index d18635d..e824cb5 100644
--- a/sshexec.1
+++ b/sshexec.1
@@ -10,6 +10,8 @@ sshexec - run a command through ssh(1) with normal command syntax
.RI [\fBdir=\fP directory ]
.RB [ cd= ( strict | lax )]
.RB [[\fIfd\fP]{ > , >> , >| , < , <> }[ & ] = \fIfile\fP]
+.RB [ asis= \fIasis-marker\fP
+.RB [ nasis= \fIasis-count\fP]]
.BR } ]
.RI [ ssh-option ]\ ...\,
.I destination
@@ -206,6 +208,24 @@ Close the file descriptor
(Default
.I fd
is 0 (standard input).)
+.TP
+.BI asis= asis-marker
+Any
+.I argument
+equal to
+.I asis-marker
+will be skipped over and instead the next argument
+(regardless of whether it to is equal to
+.IR asis-marker )
+will be interpreted as raw shell code string that
+shall be inserted without escaping.
+.TP
+.BI masis= asis-count
+If specified,
+.I asis-marker
+shall only have it's specified affect up to
+.I asis-count
+times.
.SH OPERANDS
The following operands are supported: