summaryrefslogtreecommitdiff
path: root/sys/man/1
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-04-02 09:03:35 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-04-02 09:03:35 +0200
commit47ec5de29e56c4cf223e0582b930b88ca2a589ee (patch)
tree70943702b3cb7e3f47e6771a8d0ce008c2c81f88 /sys/man/1
parent4f0bfe0fb8dc608a94fe429c5ddb12e58997e1ce (diff)
ssh: implement -W option for making remote tcp connections
Diffstat (limited to 'sys/man/1')
-rw-r--r--sys/man/1/ssh10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/man/1/ssh b/sys/man/1/ssh
index 3e6ca94d6..ac4f8f754 100644
--- a/sys/man/1/ssh
+++ b/sys/man/1/ssh
@@ -23,6 +23,9 @@ ssh - secure shell remote login client
] [
.IR user @] host
[
+.B -W
+.I remote!port
+] [
.I cmd
.I args
.I ...
@@ -83,6 +86,13 @@ with the
.B -r
option.
.PP
+With the
+.B -W
+option, instead of executing a command remotely, makes
+the server dial a tcp connection to
+.I remote!port
+which the client relays on standard input and output.
+.PP
The
.B -d
option enables debug output.