Description
-
Holds the destination port on the remote computer.
Property type
-
A Long value.
Syntax
-
object.RemotePort [= value]
The RemotePort Property syntax has these parts:
| object |
An expression
evaluating to an object of type Channel. |
| value |
A Long value. |
Remarks
-
The RemotePort property defines where all accepted
connections will be forwarded, in association with the RemoteAddress
property. You should always set this property. If you
create a LocalListen tunnel,
RemotePort defines where the SSH server will connect at the other end.
If you create a RemoteListen tunnel,
RemotePort defines where the SSH server will listen for
connections that will subsequently be forwarded to the local
computer.
|