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

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