Table of Contents

Method Pinned

Namespace
SshSharp
Assembly
SshSharp.dll

Pinned(params string[])

Trusts only keys with one of these OpenSSH SHA-256 fingerprints (SHA256:..., as ssh-keygen -lf prints).

public static SshHostKeyVerifier Pinned(params string[] fingerprints)

Parameters

fingerprints string[]

Returns

SshHostKeyVerifier