# ShellHub

ShellHub is a centralized SSH gateway for remotely accessing and managing Linux servers and devices, even those behind NAT or firewalls.

Canonical page: https://ourlocalhost.com/app/7908/shellhub

## Description

ShellHub is a centralized SSH gateway for remotely accessing and managing Linux servers and devices, even those behind NAT or firewalls. A lightweight agent on each device dials out to your ShellHub server, letting you connect via ssh, scp, sftp, or a web browser without exposing public IPs or open inbound ports. It suits homelab and edge fleets by tying every login to an identified team member, improving security and accountability. Use it for browser-based or command-line remote access across cloud instances, servers, and embedded Linux devices.

## Platform availability

Available on 2 of 10 platforms: Linux, Any server.

## Desktop and other devices

Linux.

## Health score

65/100 (Good), based on 4 of 5 factors.
- Maintained: 100 (last commit 1 day ago)
- Popular: 67 (2,253 GitHub stars)
- Easy to install: 35 (2 install platforms, install notes)
- Security check: 20 (1 serious finding, 8 minor, CI, tests, OpenSSF Scorecard 6.5/10)

## Security check

1 serious finding: Uses cross-spawn 7.0.6, which has a known critical vulnerability.
Automated checks on commit d3610c5, 2 Dec 2026. Not an audit.

## Links

- GitHub: https://github.com/shellhub-io/shellhub
- desktop: https://github.com/shellhub-io/shellhub/releases/latest
- Documentation: https://docs.shellhub.io/
- Official website: https://shellhub.io

## Common questions

### What ports does a self-hosted ShellHub server need free?

You need Docker with Compose, and ports 80 and 22 must be free on the host before starting the services.

### Why do services fail to start after `make start`?

You must run `make keygen` first to generate the required security keys; skipping this step causes the services to fail to start properly.

### How do I enroll many devices without pairing each one manually?

Create a provisioning key under Add Device → Fleet in the console and pass it to the installer script on each device; otherwise the agent prints a pairing code you enter manually.

### Do devices need a public IP or a running SSH server to be reachable?

No. The ShellHub agent dials out from the device to your ShellHub server, so the device needs no public IP or inbound port, and per the developers it doesn't need a regular SSH server installed.

## Alternatives

- Remote.it: Remote.it is a tool that lets you securely access your home or office computer from anywhere.

---
Source: Our Local Host (https://ourlocalhost.com/app/7908/shellhub), the self-hosted and open-source app directory.
