sish is an open-source reverse SSH tunneling tool that allows you to establish a secure remote shell connection from your local machine to a remote server. In this tutorial, we will show you how to install sish on Fedora CoreOS Latest.
Before installing any new software or package, it is always a good practice to update system packages. You can update the system packages by running the following command:
sudo dnf update
sish is not available in the default Fedora repositories. However, it can be easily installed from the GitHub repository. Follow the below steps to install sish on Fedora CoreOS Latest:
First, you need to install some dependencies required to build and install sish. Run the following command:
sudo dnf install git golang
Next, clone the sish GitHub repository by running the following command:
git clone https://github.com/antoniomika/sish.git
Once the cloning is completed, navigate to the sish directory by using the following command:
cd sish
Now, build and install the sish by running the following command:
sudo make install
Once the installation is completed successfully, you can verify the installation by running the following command:
sish --version
If the installation is successful, it should output the version of sish.
Now that you have successfully installed sish on your Fedora CoreOS Latest server, you can configure it to establish a secure remote shell connection. Follow the below steps to configure sish:
First, create a configuration file for sish by running the following command:
sudo vim /etc/sish.conf
In the configuration file, add the following information:
listen = 0.0.0.0:22 // listens on port 22
remote_listen = 0.0.0.0:2022 // listens on port 2022
Save and exit the configuration file by pressing ESC
, then :wq
.
To start the sish service, run the following command:
sudo systemctl start sish
To enable sish to start automatically on boot, run the following command:
sudo systemctl enable sish
You can check the status of sish service by running the following command:
sudo systemctl status sish
In this tutorial, we have shown you how to install sish on your Fedora CoreOS Latest server and configure it to establish a secure remote shell connection. Once it is properly configured, you can access your remote server from your local machine using the sish shell client by running the following command:
sish [username]@[server_address] -p [remote_listen_port]
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!