Table of Contents

Constructor SshAuthenticationAttempt

Namespace
SshSharp
Assembly
SshSharp.dll

SshAuthenticationAttempt(string, SshAuthenticationOutcome, string?)

One authentication attempt and what became of it, listed by Attempts. It names the method and, for a key, its fingerprint: never a password, an answer or the user name.

public SshAuthenticationAttempt(string Method, SshAuthenticationOutcome Outcome, string? KeyFingerprint = null)

Parameters

Method string

The method: gssapi-with-mic, publickey, keyboard-interactive or password.

Outcome SshAuthenticationOutcome

What became of it.

KeyFingerprint string

For publickey, the key's SHA-256 fingerprint (SHA256:...), as Fingerprint; otherwise null.