Expand description
SSH config file parsing, editing, and host resolution.
Re-exports§
pub use resolve::ResolvedHost;
Modules§
- ast
- Lossless parse tree for SSH config files.
- cache
- Process-wide memoization of SSH config reads and parses, keyed by the
file’s
(mtime, len)stamp; an unmeasurable mtime bypasses the cache. - resolve
- Full SSH config resolution.
- sshd
- Editing of
/etc/ssh/sshd_configfor access-control directives.
Structs§
- Config
Service - SSH config file operations.
Functions§
- expand_
identity_ path - Expand
~and resolve a relativeIdentityFilevalue againstssh_dir. - host_
matches - Check if a hostname matches any of the given SSH config patterns.
- is_
in_ ssh_ dir - Check if a path is inside the
~/.sshdirectory.