lib/kitchen/driver/ssh_base.rb
def remote_command(state, command)
        instance.transport.connection(backcompat_merged_state(state)) do |conn|
          conn.execute(env_cmd(command))
        end
      end
# Executes an arbitrary command on an instance over an SSH connection.
#
# @param state [Hash] mutable instance and driver state
# @param command [String] the command to be executed
# @raise [ActionFailed] if the command could not be successfully completed
Executes an arbitrary command on an instance over an SSH connection.
Executes an arbitrary command on an instance over an SSH connection .
def remote_command(state, command)
        instance.transport.connection(backcompat_merged_state(state)) do |conn|
          conn.execute(env_cmd(command))
        end
      end
def remote_command ( state , command ) instance . transport . connection ( backcompat_merged_state ( state ) ) do | conn | conn . execute ( env_cmd ( command ) ) end end
Executes an arbitrary command on an instance over an SSH connection.
Executes an arbitrary command on an instance over an SSH connection .
[ActionFailed] if the command could not be successfully completed
[ ActionFailed ] if the command could not be successfully completed
state
mutable instance and driver state
mutable instance and driver state
command
the command to be executed
the command to be executed