Issue with pickling SSH connections after auth failure

Issue #17 closed
Former user created an issue

Seems there is an issue with pickling ssh connections after an authentication failure occurs:

$ pydsh -w 127.0.0.1 'uname'
127.0.0.1: Authentication failed.
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/queues.py", line 236, in _feed
    obj = _ForkingPickler.dumps(obj)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/multiprocessing/reduction.py", line 51, in dumps
    cls(buf, protocol).dump(obj)
TypeError: can't pickle _thread.lock objects

This appears to impact Python3.6 and Python3.7 at minimum.

Comments (4)

  1. Log in to comment