sos
sos copied to clipboard
sos remote run cannot handle commands with quotation marks and redirects
Basically, sos remote run host --cmd command translates to
ssh -q host "bash --login -c 'command'"
so the command will fail if it contains ' or ", or > when command in `--cmd "command"' has to be quoted.
Not sure how to safely pass quotations in scenarios like this though.