Property AcceptNewHostKeys
- Namespace
- SshSharp.Extensions.DependencyInjection
- Assembly
- SshSharp.Extensions.DependencyInjection.dll
AcceptNewHostKeys
Accept and record the key of a host not yet in KnownHostsFiles (StrictHostKeyChecking accept-new). Off by
default: an unknown host fails the connection. A changed key always fails it.
public bool AcceptNewHostKeys { get; set; }