cargo::sources::git::known_hosts

Function check_ssh_known_hosts

source
fn check_ssh_known_hosts(
    gctx: &GlobalContext,
    cert_host_key: &CertHostkey<'_>,
    host: &str,
    config_known_hosts: Option<&Vec<Value<String>>>,
) -> Result<(), KnownHostError>
Expand description

Checks if the given host/host key pair is known.