Back to services

ShellHub

ShellHub is a modern SSH server for remotely accessing linux devices via command line (using any SSH client) or web-based user interface, designed as an alternative to sshd.

View alternatives to ShellHub
Suggest edit
Open source
Self-hostable
Apache-2.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Overview

ShellHub is an open-source, centralized SSH gateway and server that solves the problem of not being able to SSH directly into remote devices hidden behind NAT, firewalls, or without a public IP. Each device runs a lightweight ShellHub Agent, which actively initiates a connection to the ShellHub server. Administrators access all registered devices through this server, with no port forwarding or VPN to configure.

Note: The official website could not be fetched this time. The description below is compiled from known information about the project, so please refer to the official website for specific features and differences between versions.

Key Features

  • NAT and firewall traversal: Devices connect to the server on their own, so no public IP or port mapping is needed.
  • Compatible with standard SSH clients: You can connect with common clients such as OpenSSH. When connecting, use an SSHID to specify the target device, in a format similar to [email protected]@server-address.
  • Web terminal: Open a device's shell directly in the browser.
  • File transfer: Supports SCP / SFTP.
  • Centralized device management: In the web console, view device online status, approve new devices joining, and group devices with tags.
  • Access control: Supports public key authentication and public key management, and lets you set firewall rules to restrict who can access which devices.
  • Namespaces and team collaboration: Organize devices by namespace and invite team members to manage them together.

Target Users and Use Cases

  • IoT and embedded device manufacturers: remotely maintain large numbers of Linux devices deployed in the field.
  • Operations and DevOps teams: centrally manage servers and edge nodes scattered across different networks.
  • Technical support teams: remotely troubleshoot faulty devices at customer sites.
  • Individual and home lab users: access devices at home, such as a Raspberry Pi, from outside the network.

Core Strengths

  • Open source and fully self-hostable, so you stay in control of your data.
  • Zero client configuration, keeping the familiar SSH workflow.
  • The agent is very lightweight, suited to embedded and edge devices with limited resources.
  • Both an official cloud service and a self-hosted version are available, so you can choose as needed.

Deployment

Server side: The project provides a deployment setup based on Docker and Docker Compose, which you can deploy on your own server. You can also use the officially hosted cloud service directly.

Device side: Install the ShellHub Agent on the Linux device you want to connect. A common method is to run the agent in a Docker container, specifying the server address and the Tenant ID during installation. Once the device comes online, approve it in the web console and it's connected.

Technical Requirements

  • Server side: a Linux host that can run Docker and Docker Compose, reachable over the network by both devices and users.
  • Device side: a Linux system with access to the server.

Notable Points

  • The backend is mainly written in Go, and the code is hosted on GitHub.
  • Besides the community edition, there are commercial editions (cloud service and enterprise edition) that offer more advanced features, such as session recording. Please refer to the official website for the features of each edition.