Table of Contents

Class SshPasswordChangeRequest

Namespace
SshSharp
Assembly
SshSharp.dll

The server's request for a new password (SSH_MSG_USERAUTH_PASSWD_CHANGEREQ, RFC 4252 section 8), passed to ChangePassword: the password was right, but has expired. The server can ask again when it refuses the new password (too short, reused), with a new Prompt that usually says why.

public sealed class SshPasswordChangeRequest
Inheritance
SshPasswordChangeRequest
Inherited Members

Properties

Attempt

1 for the server's first request; more when it refused the new password and asks again. The client stops after 3 requests for one password.

Host

The host as the caller gave it (see Host), or null when connecting over a Stream.

Language

The language tag of Prompt (RFC 3066), usually empty.

Port

The server's port (22 when connecting over a Stream, where it is not known).

Prompt

The server's message, for example Your password has expired., often empty. Server-supplied text: strip control characters before showing it in a terminal.

UserName

The user whose password has expired.