Due to python3 on remote system: OSError: [Errno 88] Socket operation on non-socket
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sshuttle (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
return socket(family, type, proto, nfd)
File "/usr/lib/
_socket.
OSError: [Errno 88] Socket operation on non-socket
client: fatal: server died with error code 1
This is reported here: https:/
Workaround: Installing python2 on remote system and running with:
$ sshuttle --python=
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
Status changed to 'Confirmed' because the bug affects multiple users.