def build_remote_cmd(task, cmd_str, input, given_opts, ssh_opts)
      Remote::Cmd.new(cmd_str, ssh_opts)
    end
def build_remote_cmd(task, cmd_str, input, given_opts, ssh_opts)
      Remote::Cmd.new(cmd_str, ssh_opts)
    end
input and given opts are needed for the `TestRunner` so it can use it with
 stubbing otherwise they are ignored when building a remote cmd