pub fn parse_ssh_target(rest: &str) -> Result<SshTarget, &'static str>Expand description
Parse [user@]host[:port]/abs/path, and the scp spelling
[user@]host:/abs/path for the same thing — both sshfs and rsync
take the second, so refusing it would be a gratuitous trap.