Skip to content

How to Set Up Termix on a Linux VPS – Manage Servers via SSH and Remote Desktop in Your Browser

Termix on a Linux VPS: as a One-Click App or with Docker Compose, with a secure first account, registration disabled and an SSH terminal in the browser.

30 November 202613 min read2 Views0 helpful

Introduction

Termix is a self-hosted server manager that runs in your browser. Add your servers to Termix once, then open them with one click as an SSH terminal, browse their files over SFTP, or set up SSH tunnels. Plugins add remote desktop sessions over RDP and VNC, Docker container management, live CPU, RAM, and disk statistics, and notifications. Termix is open source (Apache-2.0) and runs as a single Docker container. This makes it an alternative to desktop programs such as PuTTY or Termius, which you have to set up separately on each computer.

In this guide, we’ll show you two ways to install it: the easy way, as a One-Click App, which gets Termix running over HTTPS at its own address in just a few minutes, and a manual installation with Docker Compose. Then you’ll add your first server in Termix, open a terminal, and secure your account. Since Termix stores access credentials for your servers, we’ll pay special attention to your first account and registration.

When Termix Makes Sense on a VPS

Termix is useful as soon as you regularly work with multiple servers. Termix is a good fit for a VPS if:

  • you want to access your servers from different devices, including computers without an SSH program. All you need is a browser, and your hosts and settings are stored centrally on the VPS.
  • you want your terminal, files, and tunnels in one place, instead of maintaining three separate programs for SSH, SFTP, and port forwarding.
  • you manage servers with multiple people and want to centrally manage accounts, roles, and shared hosts.
  • you want to access Windows computers over RDP or devices over VNC, as well as Linux servers, from the same interface.
  • you want an overview of your servers’ status and containers without setting up your own monitoring.

Termix is less suitable if you manage just one server from a single computer. In that case, a local SSH program with SSH keys is simpler and has a smaller attack surface. Keep in mind that Termix is accessible from the internet and knows the credentials for your servers. Anyone who takes over your Termix account can access those servers. That’s why a strong password, a second authentication step, and disabled registration are essential.

Easy Option: Termix as a One-Click App

The quickest way to get Termix is through your VPS’s One-Click Apps. The app is accessible over HTTPS using a domain, and browser-based terminal connections also run through it. You don’t need a reverse proxy, certificate, or firewall rules.

Requirements

  • A Linux VPS (Debian or Ubuntu) with One-Click Apps set up. See One-Click Apps for instructions.
  • At least 1 GB of free RAM. Termix itself uses about 0.3 to 0.5 GB of RAM when idle, and a little more shortly after startup and for each active plugin. Plan for 2 GB of RAM if you’ll use remote desktop sessions and many hosts.
  • About 1 GB of disk space for the image, plus a little space for data.

Install Termix

  1. Open your VPS in the ZapX dashboard and switch to the One-Click Apps tab.
  2. Search for Termix in the App catalog and click Install app.
  3. Use a custom subdomain or zap.cloud is already selected, with a random name. Leave the option enabled or enter your own name. Without a domain, Termix would only be accessible over HTTP, and your passwords would be sent over the network unencrypted.
  4. You don’t need to enter anything under App configuration. LOG_LEVEL is set to info and controls how much detail Termix writes to the log.
  5. Click Queue installation.

After about one or two minutes, the app card will show Online.

Create Your First Account

Termix is installed without login credentials, so you won’t find any generated values under App environment. Instead, create an account yourself the first time you open it:

  1. Open the app using the Access link on the app card. Termix displays the Create Account page.
  2. Enter a username under Username, then enter a long, unique password under Password and Confirm Password.
  3. Click Sign Up. The first account on a new Termix installation is automatically an Administrator.
  4. The Set up your workspace wizard follows, with five steps: choose plugins (Choose your plugins), customize the interface, set how the host list behaves, choose a theme and language (Make it yours, where you can also select German), and Secure your account. You can change each setting later.
Warning: Open Termix Immediately After Installation

Until the first account exists, anyone who visits the address can create that account and become an administrator of your Termix installation. Open the app as soon as it’s online and create your account. Then check under Settings > Users that only your account is listed. If you see an unfamiliar account or can no longer create the first account, uninstall the app along with its data volumes and reinstall it.

Disable Registration

Registration remains open after you create your first account: anyone who knows the address can still create an account. Such an account won’t be an administrator, but it can add its own hosts, set up tunnels, and make connections from your VPS. That’s why you should disable registration immediately:

  1. In the Termix dashboard, click Admin Settings or open the settings at the bottom left.
  2. Under This Server, select General.
  3. Turn off Allow User Registration. The change takes effect immediately; there’s no need to save it.

The Register link will then disappear from the login page, and you can create new accounts yourself as an administrator under Settings > Users.

Info: Forgot Your Password?

Allow Password Reset is enabled by default. Termix doesn’t email the reset code; it writes it to the container log. On the login page, click Forgot Password?, enter your username, and select Send Reset Code. You’ll find the code in the ZapX dashboard on the app card under Logs, in the line “Password reset code generated for user …”. It’s valid for 15 minutes.

Updates and backups

The One-Click App template determines which version of Termix is running. If the Termix dashboard shows Update available, it only means that a newer version is available upstream. Install new versions using the gear icon on the app card: App update > Check for updates, then, if a new version is available, Apply update.

All data is stored in the termix-data volume (at /app/data in the container): the encrypted db.sqlite.encrypted database containing hosts, credentials, and settings; the .env file containing the keys; plugins; and uploads. Back up your VPS before an update, for example using Backups in the dashboard. As an administrator, you can also download a copy of all hosts and settings under Settings > Database.

Warning: Backups Contain Your Credentials

The .env file in the volume contains the keys Termix uses to decrypt stored passwords and SSH keys. Without it, the database can’t be opened; with it, anyone can read all your credentials. Exports from the settings contain credentials in unencrypted form. Keep backups and exports as secure as your passwords.

Manual Installation

If you’re not using One-Click Apps, install Termix yourself with Docker Compose, as described in the official documentation.

Requirements

  • A Linux VPS running Debian or Ubuntu, with SSH access. See First Access via SSH.
  • Docker and Docker Compose (Compose v2). See Install Docker. Verify the installation with docker --version and docker compose version.
  • A domain for external access, with an A record pointing to your VPS’s IP address.
ResourceMinimumRecommended
CPU1 vCPU core2 vCPU cores
RAM1 GB2 GB
Disk space5 GB10 GB

According to measurements by the Termix developers, an empty Termix installation with the default plugins uses around 450 MB of RAM, and about 250 MB more after logging in. Even with thousands of hosts, usage stays below 1 GB as long as you don’t have all plugins active at the same time.

Prepare the Firewall

Termix listens on port 8080 inside the container. Don’t expose this port to the internet; bind it only to 127.0.0.1. Only SSH and the reverse proxy will be accessible externally:

bash
sudo apt install ufw
sudo ufw allow OpenSSH
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw enable
Warning: Docker Bypasses ufw

Ports published by Docker with ports: are accessible from the internet even if ufw blocks them. Docker adds its own rules ahead of ufw rules. So, bind Termix only to 127.0.0.1 as described below. For more on the firewall, see Open Ports and Manage the Firewall.

Install with Docker Compose

Create a directory for Termix and create a docker-compose.yml file in it:

bash
mkdir -p /opt/termix && cd /opt/termix
nano docker-compose.yml
yaml
services:
  termix:
    image: ghcr.io/termix-ssh/termix:26.11.3
    container_name: termix
    restart: unless-stopped
    ports:
      - "127.0.0.1:8080:8080"
    environment:
      PORT: "8080"
    volumes:
      - termix-data:/app/data

volumes:
  termix-data:

The key lines:

  • image pulls the official Termix image. Pinning a specific version, such as 26.11.3, ensures that a restart won’t silently install a newer version. Find the current version on the release page. Alternatively, you can use the latest tag.
  • ports makes Termix accessible only on the server itself at 127.0.0.1:8080. External access is only possible through the reverse proxy.
  • PORT is the port Termix listens on inside the container.
  • termix-data is the volume for /app/data. It contains the database, keys, plugins, and uploads. If it’s lost, all saved hosts and credentials will be gone.

Start Termix:

bash
docker compose up -d
docker compose logs -f termix

On its first start, Termix generates the JWT_SECRET, DATABASE_KEY, and ENCRYPTION_KEY keys and saves them to /app/data/.env. You don’t need to set them yourself. Press Strg + C to exit the log view; Termix will keep running.

First Access

Create your first account before Termix is accessible from the internet. This prevents anyone else from getting there first. To do this, open an SSH tunnel on your own computer:

bash
ssh -L 8080:127.0.0.1:8080 root@SERVER_IP

Then go to http://localhost:8080 in your browser and create your account under Create Account (it will be an Administrator). Turn off Allow User Registration under Settings > General, as described in the easy option. You can then close the tunnel.

Access over HTTPS Through a Reverse Proxy

To access Termix from the internet, put a reverse proxy with a valid certificate in front of it. See Set Up a Reverse Proxy with nginx and Create an SSL Certificate (Let's Encrypt) for the basics. Termix needs WebSockets for the terminal and live views, long timeouts for open sessions, and no size limit for file uploads. Here’s an nginx server block that works:

nginx
server {
    listen 443 ssl;
    http2 on;
    server_name termix.example.com;

    ssl_certificate     /etc/letsencrypt/live/termix.example.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/termix.example.com/privkey.pem;

    client_max_body_size 0;

    location / {
        proxy_pass http://127.0.0.1:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_read_timeout 86400s;
        proxy_send_timeout 86400s;
    }
}
  • client_max_body_size 0 removes the size limit so the file manager can upload large files.
  • Upgrade and Connection forward WebSocket connections. Without these lines, the interface will open, but the terminal won’t connect.
  • proxy_read_timeout and proxy_send_timeout keep idle sessions open for up to 24 hours.

Check the configuration with sudo nginx -t and reload nginx with sudo systemctl reload nginx. To let Termix see visitors’ real IP addresses in the audit log and when limiting login attempts, you can also set TRUSTED_PROXIES to your proxy’s IP address under environment in the docker-compose.yml file.

Tip: Caddy Instead of nginx

Caddy obtains the certificate itself and forwards WebSockets without any extra settings. A single line, reverse_proxy 127.0.0.1:8080, in your domain’s block is all you need.

For more tips on securing your server, see Linux Security Tips.

Back Up Your Data

The safest option is to back up the entire volume while Termix is stopped:

bash
cd /opt/termix
docker compose stop termix
docker run --rm -v termix_termix-data:/data:ro -v "$PWD":/backup alpine tar czf /backup/termix-$(date +%F).tar.gz -C /data .
docker compose start termix
chmod 600 termix-*.tar.gz

Docker prefixes the volume name with the project name, which here is the directory name termix. You can find the exact name by running docker volume ls. The archive contains the database and keys. To restore it, stop Termix, empty the volume, and extract the archive into it. Always keep the .env file together with the database.

Update Termix

Back up the volume first and read the release notes for the new version. Then update the image version in the docker-compose.yml file and restart Termix:

bash
cd /opt/termix
nano docker-compose.yml
docker compose pull
docker compose up -d

Termix updates the database itself on startup. Then check docker compose logs termix to make sure it started without errors.

Manage Servers in Termix

Once setup is complete, add your servers. For each host, Termix stores the address, port, username, and authentication method, so you can open a terminal, file manager, or statistics with one click.

Add Your First Host and Open a Terminal

  1. In the Hosts list on the left, click Add Host.
  2. Under Protocols, select the protocol. For Linux servers, choose SSH.
  3. Enter the IP address or hostname under Address / IP, a name for the list under Friendly Name, and the port under SSH Port—usually 22.
  4. Under Authentication Method, choose how to authenticate: Password, SSH Key, a saved Credential, or SSH Agent. Enter the user under Username, such as root, along with the password or key.
  5. Click Add Host. The host will appear in the list.
  6. Click the Terminal icon in the host’s row. The first time you connect, Termix displays Verify SSH Host Key with the server’s fingerprint. If possible, compare it, then confirm with Accept & Continue.

Use the other icons in the row to open Files (the SFTP file manager) and Host Metrics (CPU, RAM, and disk). Under Tunnels, set up SSH port forwarding that automatically reconnects if the connection drops. Under Credentials, save SSH keys or passwords once and use them for multiple hosts.

Tip: Use SSH Keys Instead of Passwords

Use the Credential Tools plugin to generate a new SSH key pair in Termix and copy the public key directly to a host. You can then sign in without the server password and disable password authentication over SSH on the server. See Create and Use SSH Keys.

How Termix Stores Your Credentials

Termix stores passwords and private SSH keys encrypted in its database. The database file itself is also encrypted, and the keys are stored in /app/data/.env in the same volume. This protects against someone stealing a single database file, but not against someone with access to the entire server or your Termix account. For example, the Copy Password action in the host list copies the saved password in plain text.

If you don’t want to store any credentials on the server, sign in as an administrator and turn off Allow saving passwords and keys under Settings > General. Termix will then ask for the password or key each time you connect. Credentials that are already saved will remain until you remove them.

Secure Your Account

Protect every Termix account with a second authentication step. In the wizard under Secure your account, or later in the settings under Security, set up an authenticator app (TOTP Authenticator, Enable button) or a passkey (Add Passkey). With Add a security key, Termix will ask for a security key in addition to your password. Set the session duration under Settings > General, at Session Timeout; the default is 24 hours. Under Sessions and Audit log, you can see who logged in and when.

Limitations

  • No email delivery for password resets: The reset code is written to the container log. Anyone without access to the logs can’t reset their own password; an administrator must do it under Users.
  • Termix doesn’t replace secure SSH access: Your servers must be reachable over SSH from the VPS running Termix. If you restrict SSH access to specific IP addresses in your firewall, allow your Termix VPS’s IP address.
  • No server update button: The Updates page in the settings only shows the current and latest versions, as well as beta options for plugins. Update Termix itself by using a new image or, for the One-Click App, by selecting App update.

Conclusion

Termix lets you manage all your servers centrally in your browser: terminal, files, tunnels, and containers in one place, accessible from any device. Since Termix knows the credentials for your servers, securing it is part of the setup: create your first account immediately, turn off Allow User Registration, and set up a second authentication step. The quickest way to get started is the easy option: the One-Click App, which makes Termix available over HTTPS in just a few minutes.

Free tools

Related tools for servers and developers

View all

FAQ

Frequently asked questions

The One-Click App is the quickest option: Termix runs over HTTPS on your domain within minutes, browser-based terminal connections work without your own reverse proxy, and you can install updates from the dashboard using App Update. Manual installation with Docker Compose is a good choice if you don’t use One-Click Apps on your server, want to run Termix behind your own reverse proxy, choose the version yourself, or create the first account through an SSH tunnel before making Termix accessible from the internet.
Termix is installed without preset login credentials, so there are no generated values under App Environment. The first time you open Termix, it displays the Create Account page. The first account you create there automatically becomes an administrator. Open Termix immediately after installation and create your account right away.
Registration remains open by default after you create the first account. Sign in as an administrator, open the settings, and turn off Allow User Registration under This Server > General. The change takes effect immediately, and the Register link disappears from the login page. You can then create additional accounts yourself under Settings > Users. Also check there for any unfamiliar accounts.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.