Function thrussh_keys::learn_known_hosts_path[][src]

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

Record a host’s public key into a nonstandard location.