SSHChannelOpenRequest Event
Fired when the peer attempts to open a new channel.
Syntax
public void fireSSHChannelOpenRequest(SshreversetunnelSSHChannelOpenRequestEvent event); public class SshreversetunnelSSHChannelOpenRequestEvent { public String channelId; public String service; public String connectedAddress; public int connectedPort; public String originAddress; public int originPort; public boolean accept; }
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 bean to accept the channel open request.