Discuss this help topic in SecureBlackbox Forum
TElSSHCustomForwarding.OnPrivateKeyNeeded
This event is fired when a client's public key was accepted by the server, but the corresponding secret key is not present.
Declaration
Parameters
Description
This event is fired by TElSSHCustomForwarding when the client's public key was accepted by the server, but the corresponding secret key is not present and thus the client is unable to authenticate using this key. The handler should load the corresponding private key into the passed Key object or set Skip parameter to True if it is not possible for some reason.