sish (Simple SSH) is a simple yet powerful tool that allows you to create a secure SSH tunnel and expose local services to the internet. In this tutorial, we will guide you through the steps of installing sish on Linux Mint.
Before we get started, make sure that you have the following:
Update the package list and upgrade the current packages using the following command:
sudo apt update && sudo apt upgrade -y
sish requires some dependencies to be installed on your system. Use the following command to install them:
sudo apt install -y build-essential libssl-dev
Download the sish source code from the GitHub repository using the following command:
wget https://github.com/antoniomika/sish/archive/refs/heads/master.zip
Extract the downloaded archive using the following command:
unzip master.zip
Change the directory to the extracted sish folder and run the following commands:
cd sish-master
make
sudo make install
Confirm that sish is installed on your system by running the following command:
sish --version
By default, sish listens on port 2222. Ensure that your firewall allows traffic on this port by running the following commands:
sudo ufw allow 2222/tcp
sudo ufw reload
Create a configuration file for sish using the following command:
sudo nano /etc/sish.conf
Copy and paste the following lines of code and replace yourdomain.com
with your domain name:
listen: :2222
tls: true
cert: /etc/letsencrypt/live/yourdomain.com/fullchain.pem
key: /etc/letsencrypt/live/yourdomain.com/privkey.pem
forward: TCP:127.0.0.1:80
Save and close the file by pressing Ctrl + X
, then Y
, and finally Enter
.
Start the sish service using the following command:
sudo systemctl start sish
Enable sish to start automatically at boot time by running the following command:
sudo systemctl enable sish
You have successfully installed sish on your Linux Mint system. You can now use sish to create a secure SSH tunnel and expose local services to the internet.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!