Skip to main content

ssh_config_aliases

Function ssh_config_aliases 

Source
pub fn ssh_config_aliases(contents: &str) -> Vec<String>
Expand description

Extract the usable Host aliases from SSH config text.

Pattern entries (*, ?, !) are skipped: they configure other hosts rather than naming one Hel could connect to.