'Parse the sshd configuration.
Process each of the lines in the configuration file.
Assembes an sshd_config file into a dictionary with the configuration
keyword as the key, and the configuration settings as value(s).
Args:
stat: unused
file_object: An open configuration file object.
knowledge_base: unused
Yields:
The configuration as an rdfvalue.'

def Parse(self, stat, file_object, knowledge_base):

    (_, _) = (stat, knowledge_base)
    self.Flush()
    lines = [l.strip() for l in file_object.read(100000).splitlines()]
    for line in lines:
        line = line.split('#')[0].strip()
        if line:
            self.ParseLine(line)
    for result in self.GenerateResults():
        (yield result)
