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
MethodstringThe method:
gssapi-with-mic,publickey,keyboard-interactiveorpassword.OutcomeSshAuthenticationOutcomeWhat became of it.
KeyFingerprintstringFor
publickey, the key's SHA-256 fingerprint (SHA256:...), as Fingerprint; otherwise null.