IP*Works! SSH V9 - Online Help
IP*Works! SSH V9
Questions / Feedback?

SSHChannelOpenRequest Event

Fired when the peer attempts to open a new channel.

Syntax

[VB.NET]
Public Event OnSSHChannelOpenRequest As OnSSHChannelOpenRequestHandler
[C#]
public event OnSSHChannelOpenRequestHandler OnSSHChannelOpenRequest;

public delegate void OnSSHChannelOpenRequestHandler(object sender, SshreversetunnelSSHChannelOpenRequestEventArgs e);

class SshreversetunnelSSHChannelOpenRequestEventArgs : EventArgs {
  string ChannelId {get;}
  string Service {get;}
  string ConnectedAddress {get;}
  int ConnectedPort {get;}
  string OriginAddress {get;}
  int OriginPort {get;}
  bool Accept {get; set;}
}

Remarks

This event is fired whenever a peer attempts to open a new channel for a given connection. ChannelId will contain the id of the channel to be created. Service will identify the type of channel that is being requested. Usually, this will be "forwarded-tcpip", in which case ConnectedAddress and ConnectedPort will contain the remote TCP/IP address and port on the peer to which the connection was established; OriginAddress and OriginPort contain the originating TCP/IP address and port of the connection.

Set Accept to true to allow the component to accept the channel open request.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0