Function thrussh_keys::learn_known_hosts [] [src]

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

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