Property KnownHostsFiles
- Namespace
- SshSharp.Extensions.DependencyInjection
- Assembly
- SshSharp.Extensions.DependencyInjection.dll
KnownHostsFiles
The known_hosts files that hold the jump host's key. When neither these nor HostKeyFingerprints are set, the hop is
checked against the endpoint's KnownHostsFiles (default ~/.ssh/known_hosts), as ssh
checks a ProxyJump host against the same files; an endpoint that pins its own fingerprints needs the hop's set here instead.
public IList<string> KnownHostsFiles { get; set; }