[][src]Function thrussh_keys::check_known_hosts_path

pub fn check_known_hosts_path<P: AsRef<Path>>(
    host: &str,
    port: u16,
    pubkey: &PublicKey,
    path: P
) -> Result<bool, Error>

Check that a server key matches the one recorded in file path.