|
Lines 587-598
This option applies to protocol version
Link Here
|
| 587 |
Specifies that a TCP/IP port on the remote machine be forwarded over |
587 |
Specifies that a TCP/IP port on the remote machine be forwarded over |
| 588 |
the secure channel to the specified host and port from the local machine. |
588 |
the secure channel to the specified host and port from the local machine. |
| 589 |
The first argument must be a port number, and the second must be |
589 |
The first argument must be a port number, and the second must be |
| 590 |
.Ar host:port . |
590 |
.Xo |
| 591 |
IPv6 addresses can be specified with an alternative syntax: |
591 |
.Sm off |
| 592 |
.Ar host/port . |
592 |
.Oo Ar bind_address : Oc |
|
|
593 |
.Ar host:port |
| 594 |
.Sm on |
| 595 |
.Xc . |
| 596 |
IPv6 addresses can be specified by enclosing any addresses in square brackets |
| 597 |
or by using the alternative syntax: |
| 598 |
.Xo |
| 599 |
.Sm off |
| 600 |
.Oo Ar bind_address / Oc |
| 601 |
.Ar host/port |
| 602 |
.Sm on |
| 603 |
.Xc . |
| 593 |
Multiple forwardings may be specified, and additional |
604 |
Multiple forwardings may be specified, and additional |
| 594 |
forwardings can be given on the command line. |
605 |
forwardings can be given on the command line. |
| 595 |
Only the superuser can forward privileged ports. |
606 |
Only the superuser can forward privileged ports. |
|
|
607 |
.Pp |
| 608 |
If the |
| 609 |
.Ar bind_address |
| 610 |
is not specified, the default is to only bind to loopback addresses. |
| 611 |
If the |
| 612 |
.Ar bind_address |
| 613 |
is |
| 614 |
.Ql * |
| 615 |
or an empty string, then the forwarding is requested to listen on all |
| 616 |
interfaces. |
| 617 |
Specifying a remote |
| 618 |
.Ar bind_address |
| 619 |
will only succeed if the server's |
| 620 |
.Cm GatewayPorts |
| 621 |
option is enabled (see |
| 622 |
.Xr sshd_config 5 ). |
| 596 |
.It Cm RhostsRSAAuthentication |
623 |
.It Cm RhostsRSAAuthentication |
| 597 |
Specifies whether to try rhosts based authentication with RSA host |
624 |
Specifies whether to try rhosts based authentication with RSA host |
| 598 |
authentication. |
625 |
authentication. |