Table of Contents

Struct SshHostKeyVerdict

Namespace
SshSharp
Assembly
SshSharp.dll

A verifier's decision about a host key.

public readonly record struct SshHostKeyVerdict : IEquatable<SshHostKeyVerdict>
Implements
Inherited Members

Properties

IsAccepted

Whether the key is trusted.

Reason

Why the key was rejected (becomes the SshHostKeyException message).

Methods

Accept()

Trust the key.

Reject(string)

Refuse the key, with the reason the connection fails with.