Class SshPasswordPrompt
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
A request for a password, passed to PasswordProvider when authentication reaches a password (the
password method, or a keyboard-interactive round that asks for exactly one hidden input). It carries what an interactive
tool shows, as ssh's user@host's password: prompt does.
public sealed class SshPasswordPrompt
- Inheritance
-
SshPasswordPrompt
- Inherited Members
Properties
- Attempt
Which prompt this is on this connection, from 1 to NumberOfPasswordPrompts. The given Password is not a prompt and is not counted.
- Host
The host as the caller gave it to
ConnectAsync(theHostNamewhen connecting byssh_configalias), or null when connecting over a Stream.
- IsRetry
Whether a password was already rejected on this connection (a prompted one, or the given Password): show something like ssh's "Permission denied, please try again."
- Method
The method the password is for:
password, orkeyboard-interactiveon a server that asks for it that way (PAM).