An exception with the SshExceptionStatus.PasswordChangeRequired
is raised only in case the SSH server sent SSH_MSG_USERAUTH_PASSWD_CHANGEREQ
packet to the client.
Determining SshExceptionStatus.PasswordChangeRequired
from banner is not supported.
To read content of the banner received from the server, please use the BannerReceived
event.
If you send us verbose communication log to support@rebex.net, we can analyze the server behavior and give you some suggestion. The log can be created like this:
client.LogWriter = new Rebex.FileLogWriter("c:/data/ssh.log", Rebex.LogLevel.Verbose);