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 class DefaultSshclientEventListener implements SshclientEventListener { ... public void privateKeyNeeded(SshclientPrivateKeyNeededEvent e) {} ... } public class SshclientPrivateKeyNeededEvent { public boolean skip; }
Remarks
Set Skip to true when it is not possible to load the missing key for some reason.