PasswordChangeRequest Event
Signals that the server requests a password change.
Syntax
sftpclient.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
The class fires this event to pass the password change request from the server to the application. This event is fired during the SSH handshake.