pub fn write_known_hosts(path: &Path, entries: &[HostEntry]) -> Result<()>
Rewrite path with update_known_hosts, creating it (and its directory) as needed. Written whole, then renamed into place.
path
update_known_hosts