pub async fn ssh_copy_id(pubkey: &Path, dest: &str) -> Result<String, Error>Expand description
Run ssh-copy-id -i <pubkey> <dest>.
ยงErrors
Returns Error::CommandFailed if the copy fails (e.g. authentication
denied), or Error::TaskFailed if the background task panics.