Skip to main content

Module paths

Module paths 

Source
Expand description

SSH path resolution for the ~/.ssh directory layout.

Provides SshPaths, which resolves and caches canonical paths for the SSH directory, config file, known_hosts, authorized_keys, and the global known-hosts file. All other service modules accept &SshPaths to locate the files they operate on.

Structs§

SshPaths
Resolved paths for the ~/.ssh directory.

Functions§

expand_path
Expand a path that may start with ~ or be relative.