'Sets defaults for the provided configuration'

def prepare_config(self, config):

    config.setdefault(u'port', 22)
    config.setdefault(u'password', None)
    config.setdefault(u'private_key', None)
    config.setdefault(u'private_key_pass', None)
    config.setdefault(u'dirs', [u'.'])
    return config
