How To Install sshuttle on CentOS 8
Introduction
In this tutorial we learn how to install sshuttle
on CentOS 8.
What is sshuttle
Transparent proxy server that works as a poor man’s VPN. Forwards over ssh. Doesn’t require admin. Works with Linux and MacOS. Supports DNS tunneling.
We can use yum
or dnf
to install sshuttle
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install sshuttle.
Install sshuttle on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install sshuttle
using dnf
by running the following command:
sudo dnf -y install sshuttle
Install sshuttle on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install sshuttle
using yum
by running the following command:
sudo yum -y install sshuttle
How To Uninstall sshuttle on CentOS 8
To uninstall only the sshuttle
package we can use the following command:
sudo dnf remove sshuttle
sshuttle Package Contents on CentOS 8
/usr/bin/sshuttle
/usr/bin/sudoers-add
/usr/lib/python3.6/site-packages/sshuttle
/usr/lib/python3.6/site-packages/sshuttle-1.0.4-py3.6.egg-info
/usr/lib/python3.6/site-packages/sshuttle-1.0.4-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/sshuttle-1.0.4-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/sshuttle-1.0.4-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/sshuttle-1.0.4-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/sshuttle-1.0.4-py3.6.egg-info/top_level.txt
/usr/lib/python3.6/site-packages/sshuttle/__init__.py
/usr/lib/python3.6/site-packages/sshuttle/__main__.py
/usr/lib/python3.6/site-packages/sshuttle/__pycache__
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/__main__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/__main__.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/assembler.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/assembler.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/client.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/client.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/cmdline.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/cmdline.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/firewall.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/firewall.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/helpers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/helpers.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/hostwatch.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/hostwatch.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/linux.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/linux.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/options.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/options.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/sdnotify.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/sdnotify.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/server.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/server.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/ssh.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/ssh.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/ssnet.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/ssnet.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/ssyslog.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/ssyslog.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/sudoers.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/sudoers.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/version.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/__pycache__/version.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/assembler.py
/usr/lib/python3.6/site-packages/sshuttle/client.py
/usr/lib/python3.6/site-packages/sshuttle/cmdline.py
/usr/lib/python3.6/site-packages/sshuttle/firewall.py
/usr/lib/python3.6/site-packages/sshuttle/helpers.py
/usr/lib/python3.6/site-packages/sshuttle/hostwatch.py
/usr/lib/python3.6/site-packages/sshuttle/linux.py
/usr/lib/python3.6/site-packages/sshuttle/methods
/usr/lib/python3.6/site-packages/sshuttle/methods/__init__.py
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/ipfw.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/ipfw.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/nat.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/nat.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/nft.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/nft.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/pf.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/pf.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/tproxy.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/__pycache__/tproxy.cpython-36.pyc
/usr/lib/python3.6/site-packages/sshuttle/methods/ipfw.py
/usr/lib/python3.6/site-packages/sshuttle/methods/nat.py
/usr/lib/python3.6/site-packages/sshuttle/methods/nft.py
/usr/lib/python3.6/site-packages/sshuttle/methods/pf.py
/usr/lib/python3.6/site-packages/sshuttle/methods/tproxy.py
/usr/lib/python3.6/site-packages/sshuttle/options.py
/usr/lib/python3.6/site-packages/sshuttle/sdnotify.py
/usr/lib/python3.6/site-packages/sshuttle/server.py
/usr/lib/python3.6/site-packages/sshuttle/ssh.py
/usr/lib/python3.6/site-packages/sshuttle/ssnet.py
/usr/lib/python3.6/site-packages/sshuttle/ssyslog.py
/usr/lib/python3.6/site-packages/sshuttle/sudoers.py
/usr/lib/python3.6/site-packages/sshuttle/version.py
/usr/share/info/sshuttle.info.gz
/usr/share/licenses/sshuttle
/usr/share/licenses/sshuttle/LICENSE
/usr/share/man/man1/sshuttle.1.gz
References
Summary
In this tutorial we learn how to install sshuttle
on CentOS 8 using yum and dnf.