AuthAttempt Event
Fires when a single authentication attempt is performed.
Syntax
sshclient.on('AuthAttempt', [callback])
Callback
The 'callback' is called when the 'AuthAttempt' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.authType
Remarks
This event is fired each time a single authentication attempt is performed. AuthType parameter specifies the type of authentication. Note, this event could be fired more than once if the client tries different authentication methods one after another.