Namespace SshSharp.Config
Classes
- KnownHostsEntry
One parsed
known_hostsline.
- KnownHostsFile
An OpenSSH
known_hostsfile. Comments, blank lines and unrecognized lines are preserved when the file is saved.
- SshConfig
An OpenSSH client configuration (
ssh_config): parsed intoHostsections and resolved per host with OpenSSH's first-obtained-value-wins rules.
- SshConfigBlock
A
HostorMatchsection, or the global section before the first one.
- SshConfigDirective
One directive in an
ssh_configfile.
- SshConfigResolveOptions
Inputs to Resolve(string, SshConfigResolveOptions?) that come from outside the config file.
- SshExecMatcher
Runs
Match execcommands. Running commands named in a config file is how OpenSSH works, but it executes local programs, so ExecMatcher is null by default (exec criteria never match) and you opt in with RunShellAsync(string, CancellationToken) only for config files you trust.
- SshHostConfig
The effective settings for one host, resolved from an SshConfig.
Enums
- KnownHostsCheckResult
The result of checking a presented host key against a KnownHostsFile.
- KnownHostsMarker
The optional marker in front of a
known_hostsline.
- RequestTty
The
RequestTTYsetting.
- SshAddressFamily
The
AddressFamilysetting.
- StrictHostKeyChecking
The
StrictHostKeyCheckingpolicy.
- UpdateHostKeys
The
UpdateHostKeyssetting: whether known_hosts follows the host keys a server announces after login.