-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi,
I have just downloaded RedExpect which raises an exception from RedSSH.
[nav] In [11]: import redssh
[ins] In [12]: rs = redssh.RedSSH()
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-12-5b77a74c0c4c> in <module>
----> 1 rs = redssh.RedSSH()
/home/e83/projects/swsh/local/lib64/python3.6/site-packages/redssh/redssh.py in __init__(self, encoding, terminal, known_hosts, ssh_host_key_verification, ssh_keepalive_interval, set_flags, method_preferences, callbacks, auto_terminate_tunnels, tcp_nodelay)
38 ssh_keepalive_interval=0.0,set_flags={},method_preferences={},callbacks={},auto_terminate_tunnels=False,tcp_nodelay=False):
39 self.debug = False
---> 40 self.client = self.pick_client()(encoding=encoding,terminal=terminal,known_hosts=known_hosts,ssh_host_key_verification=ssh_host_key_verification,
41 ssh_keepalive_interval=ssh_keepalive_interval,set_flags=set_flags,method_preferences=method_preferences,callbacks=callbacks,
42 auto_terminate_tunnels=auto_terminate_tunnels,tcp_nodelay=tcp_nodelay)
/home/e83/projects/swsh/local/lib64/python3.6/site-packages/redssh/redssh.py in pick_client(self, ssh_client, custom_ssh_clients)
44
45 def pick_client(self,ssh_client=None,custom_ssh_clients={}):
---> 46 default_client = clients.default_client
47 if ssh_client==None:
48 ssh_client = default_client
AttributeError: module 'redssh.clients' has no attribute 'default_client'
Thanks
Metadata
Metadata
Assignees
Labels
No labels