Table of Contents

Constructor SshAgentHost

Namespace
SshSharp
Assembly
SshSharp.dll

SshAgentHost(string, IReadOnlyList<SshAgentHostKey>)

A host in an agent destination constraint (SshAgentDestination): its name, the user (for the destination only), and the host keys that identify it, or certificate authorities whose host certificates do.

public SshAgentHost(string HostName, IReadOnlyList<SshAgentHostKey> HostKeys)

Parameters

HostName string

The host name, as the agent's session binding reports it (the name used to connect).

HostKeys IReadOnlyList<SshAgentHostKey>

The keys that prove the host's identity; at least one.