Quantcast
Channel: Rebex Q&A Forum - Recent questions and answers
Viewing all articles
Browse latest Browse all 3862

Answered: SSH connection: identify where user password has expired.

$
0
0

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);

Viewing all articles
Browse latest Browse all 3862

Trending Articles