diff options
Diffstat (limited to 'ssh.1')
-rw-r--r-- | ssh.1 | 27 |
1 files changed, 26 insertions, 1 deletions
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: ssh.1,v 1.132 2001/08/28 15:39:48 markus Exp $ | 37 | .\" $OpenBSD: ssh.1,v 1.133 2001/08/29 23:13:11 stevesk Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSH 1 | 39 | .Dt SSH 1 |
40 | .Os | 40 | .Os |
@@ -606,6 +606,20 @@ Privileged ports can be forwarded only when | |||
606 | logging in as root on the remote machine. | 606 | logging in as root on the remote machine. |
607 | IPv6 addresses can be specified with an alternative syntax: | 607 | IPv6 addresses can be specified with an alternative syntax: |
608 | .Ar port/host/hostport | 608 | .Ar port/host/hostport |
609 | .It Fl D Ar port | ||
610 | Specifies a local | ||
611 | .Dq dynamic | ||
612 | application-level port forwarding. | ||
613 | This works by allocating a socket to listen to | ||
614 | .Ar port | ||
615 | on the local side, and whenever a connection is made to this port, the | ||
616 | connection is forwarded over the secure channel, and the application | ||
617 | protocol is then used to determine where to connect to from the | ||
618 | remote machine. Currently the SOCKS4 protocol is supported, and | ||
619 | .Nm | ||
620 | will act as a SOCKS4 server. | ||
621 | Only root can forward privileged ports. | ||
622 | Dynamic port forwardings can also be specified in the configuration file. | ||
609 | .It Fl 1 | 623 | .It Fl 1 |
610 | Forces | 624 | Forces |
611 | .Nm | 625 | .Nm |
@@ -773,6 +787,17 @@ back to rsh or exiting. | |||
773 | The argument must be an integer. | 787 | The argument must be an integer. |
774 | This may be useful in scripts if the connection sometimes fails. | 788 | This may be useful in scripts if the connection sometimes fails. |
775 | The default is 1. | 789 | The default is 1. |
790 | .It Cm DynamicForward | ||
791 | Specifies that a TCP/IP port on the local machine be forwarded | ||
792 | over the secure channel, and the application | ||
793 | protocol is then used to determine where to connect to from the | ||
794 | remote machine. The argument must be a port number. | ||
795 | Currently the SOCKS4 protocol is supported, and | ||
796 | .Nm | ||
797 | will act as a SOCKS4 server. | ||
798 | Multiple forwardings may be specified, and | ||
799 | additional forwardings can be given on the command line. Only | ||
800 | the superuser can forward privileged ports. | ||
776 | .It Cm EscapeChar | 801 | .It Cm EscapeChar |
777 | Sets the escape character (default: | 802 | Sets the escape character (default: |
778 | .Ql ~ ) . | 803 | .Ql ~ ) . |