Function thrussh::check_known_hosts_path
[−]
[src]
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
.