Table of Contents

Property KnownHostsCommand

Namespace
SshSharp.Config
Assembly
SshSharp.dll

KnownHostsCommand

The KnownHostsCommand, as written (its tokens, including %H %I %K %f %t, are expanded each time it runs), or null. Connecting by alias runs it only with AllowKnownHostsCommand; its output is read as known_hosts lines, in addition to the files.

public string? KnownHostsCommand { get; init; }

Property Value

string