Table of Contents

Class SshHostKeyContext

Namespace
SshSharp
Assembly
SshSharp.dll

What a SshHostKeyVerifier is asked to decide: which host this is and the key it proved it holds.

public sealed class SshHostKeyContext
Inheritance
SshHostKeyContext
Inherited Members

Properties

Host

The host name or address that was connected to, or null when connecting over a caller-supplied stream.

HostKey

The key the server proved possession of during key exchange.

HostKeyAlias

The HostKeyAlias, if set: host keys are looked up and recorded under this name instead.

KnownHostsLookup

The name and port to look the key up under in known_hosts, as ssh does: the alias (with the default port) when set, otherwise the host and port. Null when neither is known.

Port

The port that was connected to (22 when connecting over a stream).