pub async fn rsync_file( key_file: &str, local_path: &str, ip: &str, remote_path: &str, ) -> Result<(), Error>
Copies a local file to a remote instance via rsync with retries