def remove(self, host):
if host not in self.hosts_:<EOL><INDENT>raise ValueError("<STR_LIT>" % host)<EOL><DEDENT>self.hosts_.remove(host)<EOL>host_lines = [ idx for idx, x in enumerate(self.lines_) if x.host == host ]<EOL>remove_range = reversed(range(min(host_lines), max(host_lines) + <NUM_LIT:1>))<EOL>for idx in remove_range:<EOL><INDENT>del self.lines_[idx]<EOL><DEDENT>
Removes a host from the SSH configuration.

Parameters
----------
host : The host to remove