def __init__(self, options): """ Initialize the SSH Bee, and the Base classes. :param sessions: A dict which is updated every time a new session is created. :param options: A dict containing all options """ ClientBase.__init__(self, options) Commands.__init__(self) self.client = None
def __init__(self, options): """ Initialize the SSH Bee, and the Base classes. :param sessions: A dict which is updated every time a new session is created. :param options: A dict containing all options """ ClientBase.__init__(self, options) Commands.__init__(self) self.client = SSHClient() self.client.set_missing_host_key_policy(AutoAddPolicy()) self.comm_chan = None