Function thrussh_client::learn_known_hosts [] [src]

pub fn learn_known_hosts(host: &str, port: u16, pubkey: &PublicKey) -> Result<()Error>

Record a host's public key into the user's known_hosts file.