☰
cargo
1.75.0-dev
In cargo::sources::git::known_hosts
Structs
KnownHost
Enums
KnownHostError
KnownHostLineType
KnownHostLocation
Constants
HASH_HOSTNAME_PREFIX
Statics
BUNDLED_KEYS
BUNDLED_REVOCATIONS
Functions
certificate_check
check_ssh_known_hosts
check_ssh_known_hosts_loaded
hashed_hostname_matches
known_host_files
load_hostfile
load_hostfile_contents
parse_known_hosts_line
user_known_host_location
user_known_host_location_to_add
?
Function
cargo
::
sources
::
git
::
known_hosts
::
load_hostfile
source
·
[
−
]
fn load_hostfile(path: &
Path
) ->
Result
<
Vec
<
KnownHost
>,
Error
>
Expand description
Loads an OpenSSH known_hosts file.