Table of Contents

Property AllowKnownHostsCommand

Namespace
SshSharp
Assembly
SshSharp.dll

AllowKnownHostsCommand

Whether a configured KnownHostsCommand may be run (a local shell command whose output is trusted as known_hosts lines). Default false: unlike ProxyCommand, which only carries the connection, this one decides which host keys are trusted, so a configuration the application does not control must not be able to supply them. Off, a configuration that names one fails the connection rather than silently checking fewer keys than it says.

public bool AllowKnownHostsCommand { get; init; }

Property Value

bool