Public bug reported: When trying to connect from Ubuntu focal 20.04 to Ubuntu focal 20.04 i get an error. This does not occur with version 1.0.3
The error is: $ sshuttle -r user@remote 10.164.0.0/20 [local sudo] Password: assembler.py:3: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses client: Connected. Traceback (most recent call last): File "<string>", line 1, in <module> File "assembler.py", line 38, in <module> File "sshuttle.server", line 298, in main File "/usr/lib/python3.8/socket.py", line 544, in fromfd return socket(family, type, proto, nfd) File "/usr/lib/python3.8/socket.py", line 231, in __init__ _socket.socket.__init__(self, family, type, proto, fileno) OSError: [Errno 88] Socket operation on non-socket client: fatal: server died with error code 1 This is reported here: https://github.com/sshuttle/sshuttle/issues/381 Workaround: Installing python2 on remote system and running with: $ sshuttle --python=/usr/bin/python2 -r user@remote 10.164.0.0/20 Makes it work Also, mkdir try cd try virtualenv . ./bin/pip install sshuttle ./bin/sshuttle -r user@remote 10.164.0.0/20 works too $ ./bin/sshuttle --version 1.0.3 ** Affects: sshuttle (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1887489 Title: Due to python3 on remote system: OSError: [Errno 88] Socket operation on non-socket To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sshuttle/+bug/1887489/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs