Table of Contents

Property Password

Namespace
SshSharp
Assembly
SshSharp.dll

Password

The password, if used. Tried after PrivateKeys and KeyboardInteractive with the password method. When the server offers only keyboard-interactive (common with PAM) and there is no handler, it answers a round that asks for exactly one hidden input. With a PasswordProvider too, this password is tried first, and the provider is asked only if the server refuses it.

public string? Password { get; init; }

Property Value

string