Skip to main content

discover_ssh_key_files

Function discover_ssh_key_files 

Source
pub fn discover_ssh_key_files() -> Vec<(PathBuf, PathBuf)>
Expand description

Scan ~/.ssh/ for all files ending in .pub that have a corresponding private key file (same path without .pub). Returns (private, public) pairs.