'Constructor of the SSHDetect class'

def __init__(self, *args, **kwargs):

    if (kwargs[u'device_type'] != u'autodetect'):
        raise ValueError(u"The    connection    device_type    must    be    'autodetect'")
    self.connection = ConnectHandler(*args, **kwargs)
    output = BaseConnection._test_channel_read(self.connection)
    self.initial_buffer = output
    self.potential_matches = {}
    self._results_cache = {}
