Skip to main content

check_host_key

Function check_host_key 

Source
pub fn check_host_key(
    host: &str,
    port: u16,
    pubkey: &PublicKey,
) -> Result<HostKeyStatus, TunnelError>
Expand description

Check host:port against the user’s ~/.ssh/known_hosts.