ShellHub is a modern and secure gateway for accessing remote servers using SSH. In this tutorial, we will show you how to install ShellHub on Debian latest version.
To complete this tutorial, you will need:
Before installing any new package, it’s advisable to update your Debian system to the latest stable version.
To update your Debian system, run the following command:
sudo apt update && sudo apt upgrade
ShellHub needs Docker to run. If you don't have Docker installed on your system, you can install it using the following commands:
sudo apt update
sudo apt install docker.io
Once Docker is installed, start it and enable it to start after boot:
sudo systemctl start docker
sudo systemctl enable docker
To install ShellHub, follow these steps:
Pull the ShellHub image from Docker Hub by running the following command:
sudo docker pull shellhub/shellhub:latest
Create a directory for ShellHub data:
sudo mkdir /var/lib/shellhub
Run the ShellHub container:
sudo docker run -d --name=shellhub -p 2222:2222 -v /var/lib/shellhub:/data shellhub/shellhub:latest
This command will start the ShellHub container, bind port 2222 to the container, and mount the /var/lib/shellhub
directory as a data volume.
Verify that the container is running correctly:
sudo docker ps -a
This command should display a list of running containers, including ShellHub.
Access the ShellHub web interface by opening your web browser and navigating to http://<server-ip>:3080
.
That's it! You have successfully installed ShellHub on Debian latest version.
In this tutorial, we showed you how to install ShellHub on Debian latest version. With ShellHub installed, you can easily manage remote servers securely and effectively.
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!