Class SshHostKeyScanOptions
- Namespace
- SshSharp
- Assembly
- SshSharp.dll
public sealed class SshHostKeyScanOptions
- Inheritance
-
SshHostKeyScanOptions
- Inherited Members
Properties
- HostKeyAlgorithms
The host key algorithms to ask for, for example
ssh-ed25519orrsa-sha2-512; null for every plain key type SshSharp supports. Algorithms of one key type (rsa-sha2-512andrsa-sha2-256) find the same key, so it is reported once.
- IncludeCertificates
Also ask for host certificates (
-cert-v01@openssh.com), when HostKeyAlgorithms is null.
- Logger
Where diagnostics go. Never receives secrets.
- Timeout
How long each connection of the scan (connecting and one key exchange) may take before the scan fails with Timeout, as
ssh-keyscan -T. Default 5 seconds, as ssh-keyscan; InfiniteTimeSpan for no limit but the cancellation token.