win32 openssh default shell wsl.exe command arguments
Depending on the DefaultShell and how the target executable operates, you may have to put your command in quotes, e.g.: ssh [email protected] "rsync --version"
For troubleshooting purposes, you can also use ssh -tt
to ensure that you're getting the command output, though this won't be necessary when you things are working properly.