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
sshclient.on('PrivateKeyNeeded', [callback])
Callback
The 'callback' is called when the 'PrivateKeyNeeded' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.skip
Remarks
Set Skip to true when it is not possible to load the missing key for some reason.