Preserve cmd.run variants issued over SSH.

Previously SSH quashed cmd.run_stdout, cmd.run_stderr and cmd.run_all
to cmd.run.

Fixes #10415
Merge pull request #10417 from plastikos/issue-10415

Preserve cmd.run variants issued over SSH.