SshSessionImpl.openDirectTcpIpChannel

SshChannelOpenOperation openDirectTcpIpChannel(string host, ushort port, string originatorAddress, ushort originatorPort, scope const SshChannelOpenOptions options = SshChannelOpenOptions .init)

Opens a direct TCP/IP channel to a destination reachable from the server.

Parameters

hostDestination host as seen by the server.
portDestination port.
originatorAddressOriginator address reported to the server.
originatorPortOriginator port reported to the server.

Returns

A stable open operation driven by session pumping.