version 1.48, 2005/03/12 11:55:03 |
version 1.49, 2005/03/16 11:10:38 |
|
|
.It Cm LocalForward |
.It Cm LocalForward |
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 |
.Xo |
|
.Sm off |
.Sm off |
.Oo Ar bind_address : Oc |
.Oo Ar bind_address : Oc Ar port |
.Ar host : port |
|
.Sm on |
.Sm on |
.Xc . |
and the second argument must be |
|
.Ar host : Ns Ar hostport . |
IPv6 addresses can be specified by enclosing addresses in square brackets or |
IPv6 addresses can be specified by enclosing addresses in square brackets or |
by using an alternative syntax: |
by using an alternative syntax: |
.Sm off |
.Oo Ar bind_address Ns / Oc Ns Ar port |
.Xo |
and |
.Op Ar bind_address No / |
.Ar host Ns / Ns Ar hostport . |
.Ar host No / Ar port |
|
.Xc . |
|
.Sm on |
|
Multiple forwardings may be specified, and additional forwardings can be |
Multiple forwardings may be specified, and additional forwardings can be |
given on the command line. |
given on the command line. |
Only the superuser can forward privileged ports. |
Only the superuser can forward privileged ports. |
|
|
.It Cm RemoteForward |
.It Cm RemoteForward |
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 |
.Xo |
|
.Sm off |
.Sm off |
.Oo Ar bind_address : Oc |
.Oo Ar bind_address : Oc Ar port |
.Ar host : port |
|
.Sm on |
.Sm on |
.Xc . |
and the second argument must be |
IPv6 addresses can be specified by enclosing any addresses in square brackets |
.Ar host : Ns Ar hostport . |
or by using the alternative syntax: |
IPv6 addresses can be specified by enclosing addresses in square brackets |
.Sm off |
or by using an alternative syntax: |
.Xo |
.Oo Ar bind_address Ns / Oc Ns Ar port |
.Op Ar bind_address No / |
and |
.Ar host No / Ar port |
.Ar host Ns / Ns Ar hostport . |
.Xc . |
|
.Sm on |
|
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. |