Table of Contents

Property NumberOfPasswordPrompts

Namespace
SshSharp
Assembly
SshSharp.dll

NumberOfPasswordPrompts

How many times PasswordProvider may be asked on one connection, as ssh_config's NumberOfPasswordPrompts. Default 3, as in ssh; 0 never asks. A given Password is not counted.

public int NumberOfPasswordPrompts { get; init; }

Property Value

int

Exceptions

ArgumentOutOfRangeException

The value is negative.