Miscellaneous fixes for try subcommand.

The first commit is independent of the rest, the last one depends on the second one and could be squashed with it but I preferred to keep them separate just in case.

The commit messages should hopefully be self-explanatory.
Won't this be problematic on Windows if SSH is at, say: `C:\Program Files (x86)\WinSSH\ssh.exe`?