Why do you say that these commands won't work unless passed to a shell vs calling ssh directly?
Because it's obvious they have been written to be parsed by a shell.
Can you assure that there would be no entries using redirections, pipes, back-quotes, logical operators, variables, wildcards, etc.? Those are features that any intermediate shell user employs frequently.
In reply to Re^5: Splitting up quoted/escaped command line arguments
by salva
in thread Splitting up quoted/escaped command line arguments
by Tommy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |