code: def parse(self, lines):
          
          cur_entry = None
          for line in lines:
              kv_ = _key_value(line)
              if len(kv_) > 1:
                  key, value = kv_
                  if key.lower() == "host":
                      cur_entry = value
                      self.hosts_.add(value)
                  self.lines_.append(ConfigLine(line=line, host=cur_entry, key=key, value=value))
              else:
                  self.lines_.append(ConfigLine(line=line))
docs: Parse lines from ssh config file