sshuttle error: File “”, line 1117, in _execute_child

If you run into this error:

# sshuttle -r user@remotehost -v
Starting sshuttle proxy.
Listening on ('', 12300).
firewall manager ready.
c : connecting to server...
user@remotehost's password: 
 s: latency control setting = True
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "", line 26, in <module>
  File "", line 168, in main
  File "", line 68, in list_routes
  File "", line 47, in _list_routes
  File "", line 606, in __init__
  File "", line 1117, in _execute_child
OSError: [Errno 2] No such file or directory
c : fatal: server died with error code 1

the culprit is simply the missing netstat program on the target host. sshuttle tries to fork a netstat process without checking if netstat is installed on the target host in the first place.

On a Fedora host netstat comes with the net-tools package:

yum install net-tools

1 thought on “sshuttle error: File “”, line 1117, in _execute_child

  1. avatarsimonsd

    Thanks, this probably saved me about 2 hours of debugging!
    Had this issue with my newly provisioned digitalocean CentOS 7 vps.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.