sslh command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
sslh: command not found
or when using sudo you get the following error message
sudo: sslh: command not found
Solutions to sslh: command not found
How To Fix sslh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu sslh is provided by libnet-proxy-perl package.
libnet-proxy-perl is:
This module is a framework for creating various kinds of network proxies in a very simple way.
A proxy is a program that transfer data across a network boundary between a client and a server. Net::Proxy introduces the concept of “connectors”, which abstract the server part (connected to the client) and the client part (connected to the server) of the proxy.
This makes it very easy to implement specific techniques to cross a given network boundary, possibly by using a proxy on one side of the network fence, and a reverse-proxy on the other side of the fence.
This package also provides the sslh SSH/HTTPS service multiplexer written in perl.
To fix this problem, we can install more using the command below.
sudo apt-get -y install libnet-proxy-perl
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install libnet-proxy-perl.
sudo apt -y install libnet-proxy-perl
Or if you have aptitude installed you can use the following command.
sudo aptitude install libnet-proxy-perl
Summary
In this tutorial we learn how to fix sslh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.