Skip to main content

read_host_keys

Function read_host_keys 

Source
pub fn read_host_keys(dir: &Path) -> Vec<String>
Expand description

This machine’s sshd host keys from dir (/etc/ssh on a real host) as type base64 lines, ed25519 first. Unreadable files are skipped.