SshSession.requestRemoteForward
SshRemoteForwardOperation requestRemoteForward(string bindAddress,
ushort bindPort)Requests a remote TCP/IP listener (tcpip-forward).
When bindPort is 0 the server allocates the port; read it from SshRemoteForwardOperation.boundPort after acceptance. An empty bindAddress fails the operation locally with a typed error before anything is sent.
Parameters
bindAddress | Address the server should listen on. |
bindPort | Port to bind, or 0 for an allocated port. |
Returns
A stable operation driven by session pumping.