Skip to main content

query_ssh_config

Function query_ssh_config 

Source
pub fn query_ssh_config(hostname: &str) -> Result<SshConfigMatch, HostError>
Expand description

Parse user’s SSH config and query for a hostname

Returns settings found for the given hostname, applying SSH config precedence rules (first match wins).