Table of Contents

Struct PasswordPromptContext

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

Context for password prompts.

public struct PasswordPromptContext
Inherited Members

Properties

Attempt

Gets the attempt number (1-based).

public readonly int Attempt { get; }

Property Value

int

ConnectionInfo

Gets the SSH connection information.

public readonly SshConnectionInfo ConnectionInfo { get; }

Property Value

SshConnectionInfo

IsBatchMode

Returns whether batch (non-interactive) mode is enabled.

public bool IsBatchMode { get; }

Property Value

bool

Remarks

In batch mode the PasswordPrompt delegate mustn't make interactive prompts.