TScOnRemotePortForwardingRequest = procedure(Sender: TObject; ClientInfo: TScSSHClientInfo; const Host: string; const Port: Integer; var Allow: Boolean) of object;


property OnRemotePortForwardingRequest: TScOnRemotePortForwardingRequest;



The OnRemotePortForwardingRequest event occurs when remote port forwarding is requested from an SSH client side.



Sender - the object whose event handler is called;
ClientInfo - holds information about the current connection;
Host - points to the host from which data should be forwarded;
Port - specifies the number of the port to listen and to forward data to;
Allow - set this parameter to True if you want to allow remote port forwarding from the specified host and port. Set Allow to False to disable port forwarding.


See Also



SecureBridge Components, Copyright © 2007-2021 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support