Discuss this help topic in SecureBlackbox Forum


TElSSHServer     See also     

Filter: C#/Java  VB.NET  Pascal  C++  PHP  

This event is fired when the client requests X11-forwarding.


    event TSSHBeforeOpenX11ForwardingEvent OnBeforeOpenX11Forwarding;
    delegate void TSSHBeforeOpenX11ForwardingEvent(Object Sender, string OrigIP, int OrigPort, ref bool Accept);

    Event OnBeforeOpenX11Forwarding As TSSHBeforeOpenX11ForwardingEvent
    Delegate Sub TSSHBeforeOpenX11ForwardingEvent(ByVal Sender As Object, ByVal OrigIP As String, ByVal OrigPort As Integer, ByRef Accept As Boolean)

    property OnBeforeOpenX11Forwarding: TSSHBeforeOpenX11ForwardingEvent;
    TSSHBeforeOpenX11ForwardingEvent = procedure(Sender: TObject; const OrigIP : string; OrigPort: integer; var Accept : boolean) of object;

    void get_OnBeforeOpenX11Forwarding(TSSHBeforeOpenX11ForwardingEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnBeforeOpenX11Forwarding(TSSHBeforeOpenX11ForwardingEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHBeforeOpenX11ForwardingEvent)(void * _ObjectData, TObjectHandle Sender, const char * pcOrigIP, int32_t szOrigIP, int32_t OrigPort, int8_t &Accept);

    TSSHBeforeOpenX11ForwardingEvent|callable|NULL get_OnBeforeOpenX11Forwarding()
    void set_OnBeforeOpenX11Forwarding(TSSHBeforeOpenX11ForwardingEvent|callable|NULL $Value)
    callable TSSHBeforeOpenX11ForwardingEvent(TObject $Sender, string $OrigIP, integer $OrigPort, bool &$Accept)


  • OrigIP - address of the host connected to the client
  • OrigPort - port on the OriginIP
  • Accept - set this parameter to True if you want to allow forwarding
  • pcOrigIP - address of the host connected to the client
  • szOrigIP - the length of pcOrigIP.


    If you agree to provide forwarding set Access parameter to True.

Discuss this help topic in SecureBlackbox Forum