pub async fn ssh_keyscan_no_hash(host: &str) -> Result<String, Error>Expand description
Run ssh-keyscan <host> (without -H) and return the host key lines.
Hostnames appear in plaintext in the output, which is useful when the
caller wants to display or inspect the keys before deciding whether to
add them to known_hosts.
ยงErrors
Returns Error::CommandFailed if the scan fails, or
Error::TaskFailed if the background task panics.