Table of Contents

Property PrivateKeys

Namespace
SshSharp
Assembly
SshSharp.dll

PrivateKeys

Keys for public-key authentication, tried in order (load them with LoadAsync(string, string?, CancellationToken)). The client does not dispose them. A key whose private material is in this process (loaded, parsed or generated) signs its request straight away; a key held by an agent or an SshKeySigner is offered first, and signs only if the server would accept it.

public IReadOnlyList<SshPrivateKey> PrivateKeys { get; init; }

Property Value

IReadOnlyList<SshPrivateKey>