Discuss this help topic in SecureBlackbox Forum


TElSSHCustomForwarding     See also     

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

This event is fired when the keyboard-interactive authentication is chosen by the server


    event TSSHAuthenticationKeyboardEvent OnAuthenticationKeyboard;
    delegate void TSSHAuthenticationKeyboardEvent(Object Sender, TElStringList Prompts, Boolean[] Echo, TElStringList Responses);

    Event OnAuthenticationKeyboard As TSSHAuthenticationKeyboardEvent
    Delegate Sub TSSHAuthenticationKeyboardEvent(ByVal Sender As Object, ByVal Prompts As TElStringList, ByVal Echo As Boolean[], ByVal Responses As TElStringList)

    property OnAuthenticationKeyboard : TSSHAuthenticationKeyboardEvent;
    TSSHAuthenticationKeyboardEvent = procedure (Sender: TObject; Prompts : TStringList; Echo : TBits; Responses : TStringList) of object;

    void get_OnAuthenticationKeyboard(TSSHAuthenticationKeyboardEvent &pMethodOutResult, void * &pDataOutResult);
    void set_OnAuthenticationKeyboard(TSSHAuthenticationKeyboardEvent pMethodValue, void * pDataValue);
    typedef void (SB_CALLBACK *TSSHAuthenticationKeyboardEvent)(void * _ObjectData, TObjectHandle Sender, TStringListHandle Prompts, TBitsHandle Echo, TStringListHandle Responses);

    TSSHAuthenticationKeyboardEvent|callable|NULL get_OnAuthenticationKeyboard()
    void set_OnAuthenticationKeyboard(TSSHAuthenticationKeyboardEvent|callable|NULL $Value)
    callable TSSHAuthenticationKeyboardEvent(TObject $Sender, TStringList $Prompts, TBits $Echo, TStringList $Responses)

    TSSHAuthenticationKeyboardEvent getOnAuthenticationKeyboard();
    void setOnAuthenticationKeyboard(TSSHAuthenticationKeyboardEvent Value);
    TSSHAuthenticationKeyboardEvent.Callback OnAuthenticationKeyboard = new TSSHAuthenticationKeyboardEvent.Callback() {
        public void TSSHAuthenticationKeyboardEventCallback(TObject Sender, TElStringList Prompts, boolean[] Echo, TElStringList Responses) {


  • Prompts - The list of prompts sent by the server
  • Echo - The list of flags which specify which responses should be echoed on the screen
  • Responses - The list of responses entered by user


    This event is fired when the keyboard-interactive authentication type is chosen by the server. According to this authentication type, the server should send a number of prompts to the client, and the client should respond to each prompt with a text line. The Echo parameter specifies which of client's responses (in case of entering them from console) should be displayed to the user.

See also:     OnAuthenticationSuccess     OnAuthenticationFailed    

Discuss this help topic in SecureBlackbox Forum