aboutsummaryrefslogtreecommitdiffstats
path: root/sshexec.1
diff options
context:
space:
mode:
Diffstat (limited to 'sshexec.1')
-rw-r--r--sshexec.115
1 files changed, 15 insertions, 0 deletions
diff --git a/sshexec.1 b/sshexec.1
index 91922f6..d18635d 100644
--- a/sshexec.1
+++ b/sshexec.1
@@ -8,6 +8,7 @@ sshexec - run a command through ssh(1) with normal command syntax
.RB [ {
.RI [\fBssh=\fP ssh-command ]
.RI [\fBdir=\fP directory ]
+.RB [ cd= ( strict | lax )]
.RB [[\fIfd\fP]{ > , >> , >| , < , <> }[ & ] = \fIfile\fP]
.BR } ]
.RI [ ssh-option ]\ ...\,
@@ -107,6 +108,20 @@ In the remote, change working directory to
before executing
.IR command .
.TP
+.B cd=strict
+Fail without executing the
+.I command
+if it's not possible to set
+.I directory
+as the remote working directory.
+.TP
+.B cd=lax
+Continue (but warn) executing the
+.I command
+even if it's not possible to set
+.I directory
+as the remote working directory.
+.TP
.IB \fR[\fPfd\fP]\fP >= file
After changing working directory (assuming one is specified),
create or truncate the specified