Function thrussh::learn_known_hosts_path [] [src]

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

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