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

SshSession.StartTcpIpForward Method

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

StartTcpIpForward(String, Int32)

Starts incoming TCP/IP tunnel on the specified IP address and port at the SSH server.

Declaration
public SshForwardingHandle StartTcpIpForward(string address, int port)
Parameters
Type Name Description
String address

Remote IP address to bind to. Most SSH installations only allow 127.0.0.1.

Int32 port

Remote port to bind to. Set this to 0 to get a random port automatically.

Returns
Type Description
SshForwardingHandle

A forwarding handle.

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