in reply to Re^4: Splitting up quoted/escaped command line arguments
in thread Splitting up quoted/escaped command line arguments
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 Section
Seekers of Perl Wisdom