# File lib/knife-solo/ssh_command.rb, line 286
    def run_command(command, options = {})
      defaults = {:process_sudo => true}
      options = defaults.merge(options)

      detect_authentication_method

      Chef::Log.debug("Initial command #{command}")

      command = processed_command(command, options)
      Chef::Log.debug("Running processed command #{command}")

      output = ui.stdout if options[:streaming]

      @connection ||= ssh_connection
      @connection.run_command(command, output)
    end