Creates a new instance of SshTunneler local service.
Namespace: Jscape.SshAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public SshTunneler(
int portLocal,
SshParameters parameters,
string remoteIp,
int remotePort
) |
Visual Basic |
---|
Public Sub New ( _
portLocal As Integer, _
parameters As SshParameters, _
remoteIp As String, _
remotePort As Integer _
) |
Visual C++ |
---|
public:
SshTunneler(
int portLocal,
SshParameters^ parameters,
String^ remoteIp,
int remotePort
) |
Parameters
- portLocal
- Type: System..::..Int32
The port local will be listened by the service.
- parameters
- Type: Jscape.Ssh..::..SshParameters
The ssh connection parameters.
- remoteIp
- Type: System..::..String
The remote host ip.
- remotePort
- Type: System..::..Int32
The remote port.
See Also