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
public open class DefaultSshclientEventListener : SshclientEventListener { ... public override fun privateKeyNeeded(e: SshclientPrivateKeyNeededEvent) {} ... } public class SshclientPrivateKeyNeededEvent { var skip: Boolean }
Remarks
Set Skip to true when it is not possible to load the missing key for some reason.