EverShell

self-hosted · open source · MIT

Close the tab.
Keep the shell.

Self-hosted terminal sessions that keep running on your machines. Open a shell from any browser, phone included, and come back hours later to the same process and the same scrollback.

  • Agent sessions keep runningReconnect after closing the browser, losing Wi-Fi, or restarting the gateway or agent.
  • Nothing to open on your serversThe agent dials out. No inbound port, no stored login.
  • A real terminal on your phoneInstall it as an app, with a key bar for Esc, Tab and Ctrl.
  • Yours, end to endSelf-hosted, MIT licensed, one container. No telemetry.

How it works

The session lives on your machine, not in the browser.

Sessions opened through the agent keep running in tmux on the host when the browser disconnects or the gateway restarts.

01

Start something long

A build, a migration, a log you are watching. It runs on the host, inside tmux.

web-02 ~ $ ./deploy.sh --all
[1/14] syncing assets…

02

Close the tab

Close the laptop, lose the Wi-Fi, restart or upgrade the gateway. The host does not notice.

browser  disconnected
host     still running

03

Come back anywhere

Open it from your phone or another desk: same process, same scrollback, several devices at once.

[14/14] done
web-02 ~ $ █

Three ways to reach a machine

  • Agent recommended

    One stdlib-only Python file that dials out to the gateway. Nothing listens on your server, and a machine behind NAT works like one with a public IP.

  • SSH

    For machines where you cannot install anything. Host keys are pinned, jump hosts are supported.

  • Telnet

    Switches, PDUs and older gear, reached directly or through an agent inside the network.

More than a shell, from the same pane.

Files and editor

Browse and edit files, resume interrupted transfers, and check repository status in the Git panel.

Split views

Two to four sessions side by side, in five layouts, saved by name.

Run on hosts

One command on many machines, with exit code and output per host.

Port forwards

An internal web UI, such as Grafana or Proxmox, on its own subdomain, behind your login.

Share and replay

Expiring links to watch or type in a live session; recordings you can replay, share and, from 3.8, keep encrypted.

Docker, systemd, serial

Containers, services and RS232/USB consoles on the host, without leaving the browser.

New in 3.9

Event publishing over MQTT. EverShell can publish its alert state and its security and account events to an MQTT 5 broker, for Home Assistant, Node-RED, Klopot or your own scripts. TLS only, off by default, and only an Owner turns it on. Email, webhook, push and in-app alerts stay as they are.

What leaves the server, and what never does →
See every feature, with screenshots →

Why not just SSH and tmux?

You can, and EverShell keeps tmux at its core. What it adds is everything around the session.

FeatureSSH + tmuxEverShell
Session survives a dropped connectionWith tmux, if you remember to start itWith the agent, sessions keep running in tmux on the host
Open port on every serverPort 22, keys to distributeNone: the agent dials out, works behind NAT
From a phone or a borrowed laptopNeeds an SSH client and your keyAny browser, passkey sign-in
Files, uploads, an editorscp, sftp, vimIn the same pane, following your cd
Show a colleague a live sessionShare a tmux socket or a screenAn expiring link, read-only or writable
Who did what, and whenScattered across each host's logsOne audit log, alerts on what matters, and from 3.9 the alert state over MQTT

Security

Built to sit on the internet.

Whoever gets past the login gets, on every host, the access of the user its agent runs as. So that is where the work goes.

How EverShell is protected →

New in 3.8

Encryption at rest. Stored credentials and every backup are locked with a master key you keep outside the data volume. Session recordings can be encrypted too, compressed first so they stay small, and an erased recording stays erased after a restore. Host backups now stream at any size.

What it covers, and what not →
  • Passkeys and 2FA

    And a fresh second factor before a shell on the hosts you flag.

  • Roles and SSO

    Which hosts each account reaches, and whether it gets a shell. OIDC and SCIM.

  • Signed agent updates

    Agents only run an update signed with your own key.

  • Audit log and backups

    Who did what, from where. Encrypted daily backups that, from 3.8, open only with a master key you keep apart.

Your server, one installer.

Any Linux server with Docker and a domain pointing at it. On a fresh Ubuntu or Debian server, one installer sets up Docker, HTTPS, the firewall, a daily encrypted backup and the master key that protects your data.

Requirements and adding hosts →
$ git clone https://github.com/sm26449/webterm.git
$ cd webterm && git checkout v3.9.2
$ less install.sh   # meant to be read: it runs as root
$ sudo ./install.sh --domain term.example.com \
      --email [email protected]

Questions

Is it free?

Yes. EverShell is open source under the MIT license, and you run it on your own server. There is no paid tier and no telemetry.

What happens if the gateway goes down?

Sessions on agent hosts keep running in tmux on the host, and are picked up again when the gateway comes back. SSH and telnet sessions live in the gateway, so those end when it restarts.

Does the agent need root?

No. By default it runs as a dedicated, unprivileged webterm user, and you decide what that user may do.

What can I connect?

Linux hosts with Python 3.6 or newer for the agent (older ones get a portable Python), plus anything that speaks SSH or telnet: switches, PDUs, a customer's box.

Can a team use it?

Yes: roles per host or folder, time-bound access, passkeys and 2FA, single sign-on via OIDC and account provisioning via SCIM, and an audit log.

Where is my data?

On your server: sessions, recordings and the database never leave it, and backups are encrypted before they go anywhere. From 3.8, stored credentials and backups are also locked with a master key kept outside the data, and recordings can be encrypted too.

Can it feed Home Assistant or my monitoring?

From 3.9, yes. Event publishing over MQTT sends the alert state and the security and account events to an MQTT 5 broker, over TLS only. It is off until an Owner turns it on, account emails and client IPs stay out unless you switch them on, and secrets and terminal content never leave. Use your own broker, or the optional bundled Mosquitto broker that --with-mqtt prepares.