# ShellHub > ShellHub is an open-source, centralized SSH gateway for reaching Linux devices that have no > public address. A small agent on each device dials out to the ShellHub server, so a device behind > NAT, a firewall or a cellular network is reachable from any standard SSH client, with no inbound > port and no VPN. - Connect with the device's SSHID as the SSH username: `ssh @.@`. - Editions: Community (open source, self-hosted), Cloud (hosted at cloud.shellhub.io) and Enterprise (a dedicated hosted instance). Pages say when a feature needs Cloud or Enterprise. - Every docs page has a Markdown copy at its address plus `.md`, which is what the links below point to. ## About ShellHub What ShellHub is, how it reaches your devices, and which deployment fits you. - [Introduction to ShellHub](https://docs.shellhub.io/introduction.md): Access infrastructure for connected devices. - [How ShellHub Works](https://docs.shellhub.io/about/how-shellhub-works.md): Concepts, architecture, and the path an SSH connection takes from your terminal to a device. - [ShellHub vs. Jump Hosts and VPNs](https://docs.shellhub.io/about/shellhub-vs-jump-hosts.md): How ShellHub differs from a bastion, a VPN, or a mesh network, and when each one is the right tool. - [Self-Hosted vs. Cloud-Hosted ShellHub](https://docs.shellhub.io/about/self-hosted-vs-cloud.md): Compare running your own ShellHub server with the managed Cloud, and decide which one fits. - [Editions](https://docs.shellhub.io/about/editions.md): What Community, Cloud, and Enterprise each include, and who runs them. - [Ports and Connectivity](https://docs.shellhub.io/about/ports-and-connectivity.md): What has to be reachable on the device side and on the server side, and what does not. - [Frequently Asked Questions](https://docs.shellhub.io/about/faq.md): Short answers to the questions that come up most often. ## Get Started Install the agent on a device and see it appear in your namespace. - [Quickstart](https://docs.shellhub.io/get-started.md): Create an account, connect your first device and open a shell on it from the browser or your own SSH client. - [Install the Agent](https://docs.shellhub.io/get-started/install.md): One command, what it decides for you, and the settings it takes. - [Raspberry Pi](https://docs.shellhub.io/get-started/install/raspberry-pi.md): Prepare a card image that enrolls itself on first boot. - [Yocto Project](https://docs.shellhub.io/get-started/install/yocto.md): Add the agent to a product image with the ShellHub layer. - [Buildroot](https://docs.shellhub.io/get-started/install/buildroot.md): Add the agent to a root filesystem with the ShellHub external tree. - [Installing on FreeBSD](https://docs.shellhub.io/get-started/install/freebsd.md): Build and run the ShellHub agent on FreeBSD from the ports tree. - [Building the Agent from Source](https://docs.shellhub.io/get-started/install/build-from-source.md): Compile the ShellHub agent yourself, including for a target architecture. - [Agent Configuration](https://docs.shellhub.io/get-started/agent-configuration.md): Every environment variable the ShellHub agent reads, with defaults. ## Connect Open a terminal, move files, forward a port, or reach a service on the device. - [Connecting to a Device](https://docs.shellhub.io/connect.md): Open a terminal from the browser or from your own SSH client. - [SSH Client Configuration](https://docs.shellhub.io/connect/ssh-clients.md): Make the SSHID less tedious with aliases, config entries, and client-specific setup. - [File Transfer](https://docs.shellhub.io/connect/file-transfer.md): Move files to and from a device with scp and sftp. - [Port Forwarding](https://docs.shellhub.io/connect/port-forwarding.md): Reach a service running on the device, or on the device's network, as if it were local. - [Web Endpoints](https://docs.shellhub.io/connect/web-endpoints.md): Publish an HTTP service running on a device at a public URL. ## Manage Run a fleet: devices, who may reach them, your team, and what was done. - [Managing Devices](https://docs.shellhub.io/manage/devices.md): How devices enrol, what the statuses mean, and what identifies one. - [Provisioning Keys](https://docs.shellhub.io/manage/devices/provisioning-keys.md): Enroll devices at scale, with the right tags, without accepting each one by hand. - [Tags](https://docs.shellhub.io/manage/devices/tags.md): Label devices so policies and filters can select them as a group. - [Device Not Appearing](https://docs.shellhub.io/manage/devices/device-not-appearing.md): The agent is installed and the device is not in the list, or is offline. - [How Authorization Works](https://docs.shellhub.io/manage/access-control.md): How ShellHub decides who may reach which device, as which unix login. - [SSH Identities](https://docs.shellhub.io/manage/access-control/ssh-identities.md): Bind SSH keys to the people on your team, and revoke them in one place. - [Access Policies](https://docs.shellhub.io/manage/access-control/access-policies.md): Write the rules that decide which identities reach which devices, as which unix login. - [Access Policy Reference](https://docs.shellhub.io/manage/access-control/policy-reference.md): Every access policy field, its accepted values, and what leaving it empty means. - [Login Approvals](https://docs.shellhub.io/manage/access-control/login-approvals.md): When a login pauses for a confirmation in the browser, and how the freshness window works. - [Connection Denied](https://docs.shellhub.io/manage/access-control/connection-denied.md): Work out which of the four reasons refused your connection, and fix it. - [Upgrading a Legacy Namespace](https://docs.shellhub.io/manage/access-control/migrating-from-legacy.md): Move a namespace from public keys, firewall rules and tenant-only enrollment to identities, access policies and provisioning keys. - [Public Keys](https://docs.shellhub.io/manage/access-control/public-keys.md): How a legacy namespace authorizes SSH. - [Firewall Rules](https://docs.shellhub.io/manage/access-control/firewall-rules.md): The legacy restriction layer, matching on source IP, hostname and username. - [Members](https://docs.shellhub.io/manage/team.md): Add people to a namespace and give them a role. - [User Roles](https://docs.shellhub.io/manage/team/user-roles.md): What each role can do, and how roles relate to device access. - [Single Sign-On (SAML)](https://docs.shellhub.io/manage/team/single-sign-on.md): Authenticate members against your own identity provider. - [SAML Sign-In Fails](https://docs.shellhub.io/manage/team/sso-not-working.md): The identity provider is usually not the problem. Check the license first. - [Multi-Factor Authentication](https://docs.shellhub.io/manage/team/multi-factor-authentication.md): Add a second factor to console sign-in. - [Namespaces](https://docs.shellhub.io/manage/namespaces.md): The workspace that holds your devices, members, policies and settings. - [Sessions](https://docs.shellhub.io/manage/sessions.md): See who connected to what, when, and from where. - [Settings](https://docs.shellhub.io/manage/settings.md): Namespace-wide settings: recording, announcements, and the upgrade of a legacy namespace. ## Self-Hosted Run your own ShellHub server. - [Self-Hosting Quickstart](https://docs.shellhub.io/selfhosted/quickstart.md): Bring up your own ShellHub server with Docker Compose. - [Environment Variables](https://docs.shellhub.io/selfhosted/environment-variables.md): Every server-side variable, with its real name and default. - [Administration](https://docs.shellhub.io/selfhosted/administration.md): Administer a self-hosted instance from the host — accounts, namespaces, members, and the one way to reset a password without mail. - [Backup](https://docs.shellhub.io/selfhosted/backup.md): What to back up, how, and what a database dump does not cover. - [Telemetry](https://docs.shellhub.io/selfhosted/telemetry.md): What a ShellHub server reports about itself, and how to turn it off. - [Upgrade](https://docs.shellhub.io/selfhosted/upgrade.md): Move a self-hosted deployment to a newer ShellHub release. - [Troubleshooting a Self-Hosted Server](https://docs.shellhub.io/selfhosted/troubleshooting.md): When a self-hosted server does not come up, or does not behave. ## API and Automation Drive ShellHub from a script, a pipeline, a config tool, or an AI agent. - [HTTP API](https://docs.shellhub.io/api.md): Authenticate, create the key an automation holds, and find the specification. - [SSH Access](https://docs.shellhub.io/api/ssh-access.md): Let an API key connect to devices over SSH, on a credential of its own. - [Provisioning Key Webhook](https://docs.shellhub.io/api/provisioning-key-webhook.md): The request ShellHub sends when a device enrolls, and the answer it expects. - [MCP Server](https://docs.shellhub.io/api/mcp.md): Let an AI assistant query and operate your ShellHub namespace. - [Ansible](https://docs.shellhub.io/api/ansible.md): Run playbooks against devices reached through ShellHub. - [Terraform](https://docs.shellhub.io/api/terraform.md): Reach ShellHub devices from Terraform provisioners, and manage ShellHub from the API. - [CI/CD Pipelines](https://docs.shellhub.io/api/ci-cd.md): Deploy to devices from a pipeline, without giving it a person's credentials. - [Debugging a CI Run](https://docs.shellhub.io/api/ci-debug.md): SSH into a live GitHub Actions runner through ShellHub when a build fails. ## Help Find the guide for what is not working, or ask. - [Troubleshooting](https://docs.shellhub.io/help/troubleshooting.md): Find the guide for what is not working. Each one lives next to the feature it covers. - [Getting Support](https://docs.shellhub.io/help/support.md): Where to ask, and what to bring so the answer is quick. ## API specifications - [OpenAPI specification, Community](https://docs.shellhub.io/openapi/community-openapi.yaml): Every HTTP API route in Community. - [OpenAPI specification, Cloud](https://docs.shellhub.io/openapi/cloud-openapi.yaml): Every HTTP API route in Cloud. - [OpenAPI specification, Enterprise](https://docs.shellhub.io/openapi/enterprise-openapi.yaml): Every HTTP API route in Enterprise. ## Optional - [Complete documentation](https://docs.shellhub.io/llms-full.txt): Every page above in one Markdown file, in the same order.