code: def remove(self, host):
          
          if host not in self.hosts_:
              raise ValueError("Host %s: not found." % host)
          self.hosts_.remove(host)
          # remove lines, including comments inside the host lines
          host_lines = [ idx for idx, x in enumerate(self.lines_) if x.host == host ]
          remove_range = reversed(range(min(host_lines), max(host_lines) + 1))
          for idx in remove_range:
              del self.lines_[idx]
docs: Removes a host from the SSH configuration.
  
          Parameters
          ----------
          host : The host to remove