[BACK]Return to ssh.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/ssh.1 between version 1.383 and 1.384

version 1.383, 2017/06/09 06:43:01 version 1.384, 2017/09/21 19:16:53
Line 592 
Line 592 
 .Ar remote_socket : local_socket  .Ar remote_socket : local_socket
 .Sm on  .Sm on
 .Xc  .Xc
   .It Fl R Xo
   .Sm off
   .Oo Ar bind_address : Oc
   .Ar port
   .Sm on
   .Xc
 Specifies that connections to the given TCP port or Unix socket on the remote  Specifies that connections to the given TCP port or Unix socket on the remote
 (server) host are to be forwarded to the given host and port, or Unix socket,  (server) host are to be forwarded to the local side.
 on the local side.  .Pp
 This works by allocating a socket to listen to either a TCP  This works by allocating a socket to listen to either a TCP
 .Ar port  .Ar port
 or to a Unix socket on the remote side.  or to a Unix socket on the remote side.
 Whenever a connection is made to this port or Unix socket, the  Whenever a connection is made to this port or Unix socket, the
 connection is forwarded over the secure channel, and a connection  connection is forwarded over the secure channel, and a connection
 is made to either  is made from the local machine to either an explicit destination specified by
 .Ar host  .Ar host
 port  port
 .Ar hostport ,  .Ar hostport ,
 or  or
 .Ar local_socket ,  .Ar local_socket ,
 from the local machine.  or, if no explicit destination was specified,
   .Nm
   will act as a SOCKS 4/5 proxy and forward connections to the destinations
   requested by the remote SOCKS client.
 .Pp  .Pp
 Port forwardings can also be specified in the configuration file.  Port forwardings can also be specified in the configuration file.
 Privileged ports can be forwarded only when  Privileged ports can be forwarded only when

Legend:
Removed from v.1.383  
changed lines
  Added in v.1.384