Table of Contents

Property PrivateKeys

Namespace
SshSharp
Assembly
SshSharp.dll

PrivateKeys

Keys to offer the destination before its configured IdentityFiles. The client does not dispose them. Never offered to a ProxyJump hop, which logs in with its own configuration's identity files and the agent, as Password is never sent to one. (Before 1.1 they were offered to every hop too: a hop that needs one of these keys now needs it in its own IdentityFile, or in the agent.)

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

Property Value

IReadOnlyList<SshPrivateKey>