def remote_command(cmd)
      output = ""
      Net::SSH.start(@address, @user, :password => @password) do |ssh|
        output = ssh.exec! cmd
      end
      output
    end
def remote_command(cmd)
      output = ""
      Net::SSH.start(@address, @user, :password => @password) do |ssh|
        output = ssh.exec! cmd
      end
      output
    end
Run a command in the ESX host via SSH