How to Install sish on Fedora CoreOS Latest

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.

Step 1 - Update System Packages

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

Step 2 - Install sish

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:

  1. First, you need to install some dependencies required to build and install sish. Run the following command:

    sudo dnf install git golang
    
  2. Next, clone the sish GitHub repository by running the following command:

    git clone https://github.com/antoniomika/sish.git
    
  3. Once the cloning is completed, navigate to the sish directory by using the following command:

    cd sish
    
  4. Now, build and install the sish by running the following command:

    sudo make install
    
  5. 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.

Step 3 - Configure 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:

  1. First, create a configuration file for sish by running the following command:

    sudo vim /etc/sish.conf
    
  2. 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
    
  3. Save and exit the configuration file by pressing ESC, then :wq.

  4. 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
    
  5. You can check the status of sish service by running the following command:

    sudo systemctl status sish
    

Conclusion

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!