PrivateKeyNeeded Event
This event is fired when client's public key was accepted by the server, but the corresponding secret key is not available.
Syntax
ANSI (Cross Platform) virtual int FirePrivateKeyNeeded(SSHClientPrivateKeyNeededEventParams *e);
typedef struct {
int Skip; int reserved; } SSHClientPrivateKeyNeededEventParams; Unicode (Windows) virtual INT FirePrivateKeyNeeded(SSHClientPrivateKeyNeededEventParams *e);
typedef struct {
BOOL Skip; INT reserved; } SSHClientPrivateKeyNeededEventParams;
- (void)onPrivateKeyNeeded:(int*)skip;
#define EID_SSHCLIENT_PRIVATEKEYNEEDED 16 virtual INT SECUREBLACKBOXLITE_CALL FirePrivateKeyNeeded(BOOL &bSkip);
Remarks
Set Skip to true when it is not possible to load the missing key for some reason.