Table of Contents

Constructor SshAgentRequest

Namespace
SshSharp
Assembly
SshSharp.dll

SshAgentRequest(SshAgentOperation, SshPublicKey, SshCertificate?, IReadOnlyList<SshPublicKey>?, SshPublicKey?)

Creates a request (SshSharp makes them; this is for testing a filter).

public SshAgentRequest(SshAgentOperation operation, SshPublicKey key, SshCertificate? certificate = null, IReadOnlyList<SshPublicKey>? forwardingHostKeys = null, SshPublicKey? destinationHostKey = null)

Parameters

operation SshAgentOperation

Listing the keys, or signing with one.

key SshPublicKey

The key, or the key a certificate certifies.

certificate SshCertificate

The certificate, when the agent's identity is one.

forwardingHostKeys IReadOnlyList<SshPublicKey>

The host keys of the servers the agent was forwarded through; null for none.

destinationHostKey SshPublicKey

The host key of the server being logged in to, when known.

Exceptions

ArgumentNullException

key is null.