PasswordChangeRequest Event
This event is fired when a password change is requested.
Syntax
sshclient.on('PasswordChangeRequest', [callback])
Callback
The 'callback' is called when the 'PasswordChangeRequest' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.prompt e.newPassword e.cancel
Remarks
This event is fired by the class when a password change is requested by the server. Prompt contains the password prompt message. Handler should either provide the new password via NewPassword, or deny the request by setting Cancel to true.