sshuttle “No such file or directory”

I tried to use sshuttle today on a fresh new CentOS 7 machine and was greeted with this error:

Traceback (most recent call last):
 File "", line 1, in 
 File "", line 36, in 
 File "sshuttle.server", line 229, in main
 File "sshuttle.server", line 84, in list_routes
 File "sshuttle.server", line 63, in _list_routes
 File "/usr/lib64/python2.7/", line 711, in __init__
 errread, errwrite)
 File "/usr/lib64/python2.7/", line 1327, in _execute_child
 raise child_exception
OSError: [Errno 2] No such file or directory
client: fatal: server died with error code 1

After a bit of digging, I realized that sshuttle requires the netstat command. I installed this with yum, and it works now:

yum install net-tools

This probably works on all RedHat variants, so if you are using RHEL, CentOS, Fedora, or Scientific Linux, this should fix the problem.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s