version 1.42, 2005/02/28 00:54:10 |
version 1.43, 2005/03/01 10:09:52 |
|
|
Specifies that a TCP/IP port on the local machine be forwarded over |
Specifies that a TCP/IP port on the local machine be forwarded over |
the secure channel to the specified host and port from the remote machine. |
the secure channel to the specified host and port from the remote machine. |
The first argument must be a port number, and the second must be |
The first argument must be a port number, and the second must be |
.Ar host:port . |
.Xo |
IPv6 addresses can be specified with an alternative syntax: |
.Sm off |
.Ar host/port . |
.Oo Ar bind_address : Oc |
Multiple forwardings may be specified, and additional |
.Ar host:port |
forwardings can be given on the command line. |
.Sm on |
|
.Xc . |
|
IPv6 addresses can be specified by enclosing addresses in square brackets or |
|
by using an alternative syntax: |
|
.Xo |
|
.Sm off |
|
.Oo Ar bind_address / Oc |
|
.Ar host/port |
|
.Sm on |
|
.Xc . |
|
Multiple forwardings may be specified, and additional forwardings can be |
|
given on the command line. |
Only the superuser can forward privileged ports. |
Only the superuser can forward privileged ports. |
|
By default, the local port is bound in accordance with the |
|
.Cm GatewayPorts |
|
setting. |
|
However, an explicit |
|
.Ar bind_address |
|
may be used to bind the connection to a specific address. |
|
The |
|
.Ar bind_address |
|
of |
|
.Dq localhost |
|
indicates that the listening port be bound for local use only, while an |
|
empty address or |
|
.Dq * |
|
indicates that the port should be available from all interfaces. |
.It Cm LogLevel |
.It Cm LogLevel |
Gives the verbosity level that is used when logging messages from |
Gives the verbosity level that is used when logging messages from |
.Nm ssh . |
.Nm ssh . |
|
|
Specifies that a TCP/IP port on the remote machine be forwarded over |
Specifies that a TCP/IP port on the remote machine be forwarded over |
the secure channel to the specified host and port from the local machine. |
the secure channel to the specified host and port from the local machine. |
The first argument must be a port number, and the second must be |
The first argument must be a port number, and the second must be |
.Ar host:port . |
.Xo |
IPv6 addresses can be specified with an alternative syntax: |
.Sm off |
.Ar host/port . |
.Oo Ar bind_address : Oc |
|
.Ar host:port |
|
.Sm on |
|
.Xc . |
|
IPv6 addresses can be specified by enclosing any addresses in square brackets |
|
or by using the alternative syntax: |
|
.Xo |
|
.Sm off |
|
.Oo Ar bind_address / Oc |
|
.Ar host/port |
|
.Sm on |
|
.Xc . |
Multiple forwardings may be specified, and additional |
Multiple forwardings may be specified, and additional |
forwardings can be given on the command line. |
forwardings can be given on the command line. |
Only the superuser can forward privileged ports. |
Only the superuser can forward privileged ports. |
|
.Pp |
|
If the |
|
.Ar bind_address |
|
is not specified, the default is to only bind to loopback addresses. |
|
If the |
|
.Ar bind_address |
|
is |
|
.Ql * |
|
or an empty string, then the forwarding is requested to listen on all |
|
interfaces. |
|
Specifying a remote |
|
.Ar bind_address |
|
will only succeed if the server's |
|
.Cm GatewayPorts |
|
option is enabled (see |
|
.Xr sshd_config 5 ). |
.It Cm RhostsRSAAuthentication |
.It Cm RhostsRSAAuthentication |
Specifies whether to try rhosts based authentication with RSA host |
Specifies whether to try rhosts based authentication with RSA host |
authentication. |
authentication. |