def execute(command, options={})
      options[:password] = @host_password if @host_password
      session = Net::SSH.start(@host, @user, options)

      result = session.exec! "#{self.eqcmd_path} -s#{self.service_name} #{command}"

      session.close

      return clean_up_output(result)
    end
def execute(command, options={})
      options[:password] = @host_password if @host_password
      session = Net::SSH.start(@host, @user, options)

      result = session.exec! "#{self.eqcmd_path} -s#{self.service_name} #{command}"

      session.close

      return clean_up_output(result)
    end
@note Host, User and Service name are required
 @param host [String] The server hostname.
 @param user [String] The user that ssh gonna use.
 @param service_name [String] The name of the Equitrac service.
 @param host_password [String] The password used for authentification.
 @param eqcmd_path [String] The path where Equitrac utilities is installed
 Execute a command on the remote server via SSH.

 @param command [String] the command that need to be executed.
 @param options [Hash] options for ssh.
 @return [String] the result from the ssh command