IPWorks Auth 2020 C++ Builder Edition

Questions / Feedback?

SSHCustomAuth Event

Fired when the component is doing custom authentication.

Syntax

typedef struct {
  String Packet;
} TipaSSHAuthSSHCustomAuthEventParams;

typedef void __fastcall (__closure *TipaSSHAuthSSHCustomAuthEvent)(System::TObject* Sender, TipaSSHAuthSSHCustomAuthEventParams *e);

__property TipaSSHAuthSSHCustomAuthEvent OnSSHCustomAuth = { read=FOnSSHCustomAuth, write=FOnSSHCustomAuth };

Remarks

SSHCustomAuth is fired during the user authentication stage of the SSH logon process if SSHAuthMode is set to amCustom. Packet contains the raw last SSH packet sent by the server, in HEX-encoded format.

The client should create a new raw SSH packet to send to the server and set Packet to the HEX-encoded representation of the packet to send.

In all cases, Packet will start with the message type field.

To read the incoming packet call DecodePacket and then use the GetSSHParam and GetSSHParamBytes methods. To create a packet use the SetSSHParam method and then call EncodePacket to obtain a HEX-encoded value and assign this to the Packet parameter.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Auth 2020 C++ Builder Edition - Version 20.0 [Build 8155]