Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SshSession.OpenTcpIpTunnel Method

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

OpenTcpIpTunnel(IPEndPoint)

Opens an outgoing TCP/IP tunnel to the specified remote endpoint.

Declaration
public SshChannel OpenTcpIpTunnel(IPEndPoint remoteEP)
Parameters
Type Name Description
IPEndPoint remoteEP

Remote endpoint.

Returns
Type Description
SshChannel

SSH channel.

OpenTcpIpTunnel(String, Int32)

Opens an outgoing TCP/IP tunnel to the specified remote endpoint.

Declaration
public SshChannel OpenTcpIpTunnel(string hostname, int port)
Parameters
Type Name Description
String hostname

Hostname.

Int32 port

Port.

Returns
Type Description
SshChannel

SSH channel.

In This Article
  • OpenTcpIpTunnel(IPEndPoint)
  • OpenTcpIpTunnel(String, Int32)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies