<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def write(self, path):
 """ Writes ssh config file Parameters path : The file to write to """

        with open(path, "w") as fh_:
            fh_.write(self.config())