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
HostNamestringThe host name, as the agent's session binding reports it (the name used to connect).
HostKeysIReadOnlyList<SshAgentHostKey>The keys that prove the host's identity; at least one.