Commit a2cfdfca authored by Niels Möller's avatar Niels Möller
Browse files

(Action options): Documented -D (socks

forwarding).

Rev: doc/lsh.texinfo:1.38
parent f1729818
...@@ -1152,6 +1152,12 @@ connects to the remote hosts, the server will inform the local ...@@ -1152,6 +1152,12 @@ connects to the remote hosts, the server will inform the local
@command{lsh}. The local @command{lsh} then connects to @var{target-port} on @command{lsh}. The local @command{lsh} then connects to @var{target-port} on
@var{target-host}. @var{target-host}.
@item -D
Requests SOCKS-style forwarding. It takes one optional argument, the
port number to use for the SOCKS proxy (default is 1080). Other
applications can then use socks version 4 or version 5, to open
outgoing connections which are forwarded via the SSH connection.
@item -E @item -E
This option takes one mandatory argument, which is a command line to be This option takes one mandatory argument, which is a command line to be
executed on the remote machine. executed on the remote machine.
...@@ -1223,11 +1229,11 @@ Analogous to the @option{--stdout} option. ...@@ -1223,11 +1229,11 @@ Analogous to the @option{--stdout} option.
@item -g @item -g
Remote peers, aka global forwarding. This option applies to the Remote peers, aka global forwarding. This option applies to the
forwarding actions, i.e. @option{-L} and @option{-R}. By default, only forwarding actions, i.e. @option{-L}, @option{-R} and @option{-D}. By
connections to the loopback interface, ip 127.0.0.1, are forwared. This default, only connections to the loopback interface, ip 127.0.0.1, are
implies that only processes on the same machine can use the forwarded forwarded. This implies that only processes on the same machine can use
tunnel directly. If the -g modifier is in effect, the forwarding party the forwarded tunnel directly. If the -g modifier is in effect, the
will listen on @emph{all} network interfaces. forwarding party will listen on @emph{all} network interfaces.
@end table @end table
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment