Self-hosted app·DNS, network tools and remote access
WeTTY hosting a browser terminal on a Swiss VPS.
WeTTY hosting in ALP1, Swiss Alps: Docker Compose behind Caddy, the origin setting WeTTY 4 requires, and sizing on VPS Standard at 12.99 USD/month.
- Node.js
- Caddy
- Docker
- Debian
ALP1·Swiss Alps
In stockRecommended for this use case
- 1 Gbps port15 TB of transfer a monthIncluded
- Debian 13preinstalled with the orderIncluded
- DDoS protection, 1 IPv4VNC console and full rootIncluded
Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $116.99 a year, about 25% less
- No KYC
- Crypto only
- Swiss jurisdiction
ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto
- 4 vCPU, 4 GB RAM
- 160 GB NVMe local storage
- 15 TB transfer on a 1 Gbps port
- DDoS protection included
- Swiss jurisdiction, outside the EU
01/06
What WeTTY is, and who should run it.
WeTTY (Web + TTY) is a terminal emulator that lives in a browser tab. The client side is xterm.js, the server side is a Node.js process, and the two talk over a WebSocket. The server does not implement a shell of its own: it starts ssh towards a host you configure, or /bin/login when it runs as root against the local machine, and relays that pseudo-terminal to the browser. The project was started by Krishna Srinivas, is maintained by Cian Butler at github.com/butlerx/wetty under the MIT licence, and publishes the container image wettyoss/wetty.
The people who get real value from it are those who need a shell from a device or network where an SSH client is not an option: a managed work laptop, a Chromebook, a tablet, a hotel or office network that lets out port 443 and little else. If you can install an SSH client or WireGuard on the device you actually use, do that instead (see our guide to VPN servers); WeTTY adds a web stack in front of sshd and takes nothing away. It also cannot make an untrusted computer trustworthy. TLS protects the path between the browser and our server, not a borrowed machine with a keylogger on it.
The project has been moving quickly this autumn. Releases 3.3.1 to 3.3.5, at the end of September 2026, were mostly fixes to Socket.IO origin validation and quoting of SSH working-directory paths; 4.0.0 made an explicit list of trusted origins mandatory; 4.2.1, published on 25 October 2026, is current as we write. Plan to read release notes and update monthly rather than install once and forget.
02/06
Requirements and sizing.
Upstream asks for Node.js 20 or newer plus make, Python and a compiler if you install from npm, because the native PTY module is built at install time. With the Docker image you need none of that on the host, which is the main reason we deploy it that way. By default WeTTY listens on TCP 3000 on all interfaces with base path /; in the setup below it stays on an internal Docker network and only ports 80 and 443 are public, served by Caddy.
Upstream publishes no memory figure. The YunoHost package declared about 50 MB of runtime RAM for the older 2.7.0 release, which is the order of magnitude you would expect from one Node process. Each open tab then adds an ssh client in the container, an sshd child on the host and whatever you run in the shell.
That last item is what sizes the server. WeTTY alone would fit on Starter. We recommend Standard because a browser terminal is usually the front door to a machine you work on, where you compile, run containers and edit files, and 4 vCPU with 4 GB leaves room for that next to Docker, Caddy and the terminal itself. If the VPS will only be a jump host from which you SSH onward to other servers, Starter is enough and we would rather you paid 6.99 than 12.99.
| Plan | vCPU | RAM | NVMe | Transfer / month | Port | Price / month | Good fit when |
|---|---|---|---|---|---|---|---|
| Starter | 2 | 2 GB | 80 GB | 10 TB | 1 Gbps | 6.99 USD | the VPS is only a jump host |
| Standard | 4 | 4 GB | 160 GB | 15 TB | 1 Gbps | 12.99 USD | you also work on the box (recommended) |
| Pro | 6 | 8 GB | 320 GB | 20 TB | 1 Gbps | 22.99 USD | heavy builds or several people at once |
VPS transfer is metered per plan, but terminal traffic is small. A heavy user pushing 20 KB/s for eight hours a day on 22 working days moves about 12.7 GB a month (theoretical), which is under 0.1 % of Standard's 15 TB.
One setting depends on where your users sit rather than on the plan. WeTTY's heartbeat defaults are tight, a ping every 3 seconds and 7 seconds to answer, and upstream suggests 25000/20000 ms if you see "transport close" errors on high-latency or lossy paths. We set the higher values in the compose file below: they cost nothing on a short path and spare a reconnect on mobile networks or from another continent.
Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.
03/06
Deploying WeTTY on our VPS.
- 01
1. Order the server and prepare a user
Order VPS Standard with Debian 13 from the deploy page. Log in as root with your SSH key and create the account you will use from the browser:
adduser alice usermod -aG sudo aliceDebian's default
PermitRootLogin prohibit-passwordmeans root cannot log in through WeTTY with a password, and we suggest leaving it that way. Install Docker Engine and the Compose plugin from Docker's own Debian repository, then point a DNS record (term.example.combelow) at the VPS's IPv4 address. - 02
2. Allow passwords only from the container
WeTTY authenticates with passwords by default. You do not want password logins on the public SSH port, so allow them only from the Docker network WeTTY sits on, which the compose file pins to
172.30.0.0/24. Debian reads/etc/ssh/sshd_config.d/*.conffirst and keeps the first value it meets, so the global setting goes in a drop-in that sorts early, and the exception goes at the very end of the main file:echo 'PasswordAuthentication no' > /etc/ssh/sshd_config.d/00-wetty.conf printf '\nMatch Address 172.30.0.0/24\n PasswordAuthentication yes\n' >> /etc/ssh/sshd_config sshd -t sshd -T -C user=alice,host=wetty,addr=172.30.0.10 | grep -i '^passwordauthentication' # yes sshd -T -C user=alice,host=x,addr=203.0.113.5 | grep -i '^passwordauthentication' # no systemctl reload sshIf you run fail2ban, add
172.30.0.0/24toignoreipfor the sshd jail. Every WeTTY login reaches sshd from the container's address, so one user's typos would otherwise ban everyone. Throttle at the web layer instead, for example with a jail on Caddy's 401 responses. - 03
3. Compose file and Caddyfile
In
/opt/wetty, createcompose.yaml:services: wetty: image: wettyoss/wetty:latest # pin by digest once you have tested it restart: unless-stopped command: - --ssh-host=172.30.0.1 # the host, seen from the container network - --ssh-port=22 - --force-ssh - --allowed-origin=https://term.example.com - --ping-interval=25000 - --ping-timeout=20000 networks: wetty_net: ipv4_address: 172.30.0.10 caddy: image: caddy:2 restart: unless-stopped ports: - "80:80" - "443:443" - "443:443/udp" volumes: - ./Caddyfile:/etc/caddy/Caddyfile:ro - caddy_data:/data - caddy_config:/config networks: - wetty_net networks: wetty_net: ipam: config: - subnet: 172.30.0.0/24 gateway: 172.30.0.1 volumes: caddy_data: caddy_config:and a
Caddyfile:term.example.com { @metrics path /metrics /metrics/* respond @metrics 404 basic_auth { alice <hash from: docker run --rm -it caddy:2 caddy hash-password> } reverse_proxy wetty:3000 }A few details in these two files carry most of the security. The
wettyservice publishes no port at all; Caddy reaches it aswetty:3000over the internal network. Do not add3000:3000"for a quick test": Docker writes its own firewall rules for published ports, and they bypass a host firewall such as ufw. The--allowed-originvalue must be exactly what users type in the address bar, scheme and port included, with no path. Caddy forwards the browser'sHostheader unchanged by default, which WeTTY relies on for its same-origin polling fallback, so leave that alone. Upstream serves/metricswithout authentication, hence the 404. Use a different password for Caddy's gate than for the Linux account behind it, or replacebasic_authwithforward_authto an SSO service such as Authelia if you already run one. - 04
4. Start, check, update
cd /opt/wetty docker compose up -d docker compose logs -f wettyThen open
https://term.example.com/ssh/alice. Caddy obtains the TLS certificate on first request, asks for the gate password, and WeTTY prompts for alice's system password. To update, read the release notes, then rundocker compose pull && docker compose up -d; once a version works for you, pin the image by digest (docker image inspect --format '{{index .RepoDigests 0}}' wettyoss/wetty:latest) so a later pull cannot surprise you the way 4.0.0 surprised anyone without an origin list.
04/06
What it costs.
| Item | Price |
|---|---|
| VPS Standard, monthly | 12.99 USD |
| With daily backups (+20 %) | 15.59 USD / month |
| Yearly billing (≈ −25 %) | 116.99 USD / year, about 9.75 USD / month |
| Extra IPv4, if needed | 2 USD / month |
| Priority support, optional | 10 USD / month |
The monthly price includes full root on the VPS, 15 TB of transfer at 1 Gbps and an open outbound port 25. Rather than daily image backups, you can also back up home directories and the /opt/wetty folder with restic to an S3-compatible object storage bucket: 250 GB costs 1.99 USD a month. It is a bucket accessed over the S3 API, not a disk you attach.
We take payment in crypto only (Monero, Bitcoin, USDT, Ethereum, Litecoin and others), with balances in US dollars. Top-ups run from 25 to 5,000 USD and carry a bonus from 50 USD upwards; a 100 USD top-up becomes a 110 USD balance, which covers eight months of Standard with 6.08 USD left over (theoretical). The unused paid part of a top-up is refundable within 14 days. The full grid is on the pricing page.
05/06
Where the server sits, and what that changes.
Everything typed into WeTTY passes through and is processed on the VPS, sudo passwords included, so the location of that machine is not a detail. ALP1 is in Switzerland and operated by Hosta AG, a Swiss société anonyme. The revised Federal Act on Data Protection has applied since 1 September 2023, and the European Commission confirmed on 15 January 2024 that Switzerland still ensures an adequate level of protection, which matters if you handle EU personal data from that shell. As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. The revision of the Swiss surveillance ordinance put to consultation in January 2025 is not in force; the Federal Council has announced a second consultation.
None of that is a reason to relax. We act on decisions of competent Swiss authorities, and no jurisdiction protects a server whose WeTTY page has a guessable password. The details of our legal position are on the offshore hosting page.
06/06
Acceptable use and your obligations.
You are responsible for everything executed through your WeTTY, whoever typed it. Use it only to reach systems you are authorised to use: entering a specially secured data processing system without permission is an offence under article 143bis of the Swiss Criminal Code, and a VPS used as a jumping-off point for that will be reported to us. Leave --allow-remote-hosts and --allow-remote-command off on any page reachable from the internet, since with them enabled the URL chooses the SSH destination and your server becomes an SSH relay towards other people's machines. Do not use --ssh-key on a public page either; upstream itself marks it insecure, because whoever loads the page gets a shell without a password.
If you hand out shell accounts to other people, their actions are yours as far as we are concerned. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025).
Catalogue·Options
Every configuration, every option, every price.
Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.
| Plan | vCPU | Memory | NVMe | Transfer | Port | Price | Deploy |
|---|---|---|---|---|---|---|---|
| StarterStaging, dev | 2 | 2 GB | 80 GB | 10 TB / month | 1 Gbps | $6.99/mo | Deploy Starter |
| StandardRecommendedSmall apps | 4 | 4 GB | 160 GB | 15 TB / month | 1 Gbps | $12.99/mo | Deploy Standard |
| ProProduction | 6 | 8 GB | 320 GB | 20 TB / month | 1 Gbps | $22.99/mo | Deploy Pro |
| PowerHeavy workloads | 12 | 16 GB | 640 GB | 40 TB / month | 2 Gbps | $42.99/mo | Deploy Power |
| UltraDatabases | 16 | 32 GB | 1000 GB | 60 TB / month | 2 Gbps | $65.99/mo | Deploy Ultra |
| SummitDense hosts | 32 | 64 GB | 2000 GB | 100 TB / month | 5 Gbps | $119.99/mo | Deploy Summit |
Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.
Every plan
- AMD EPYCon every host
- Local NVMenot network storage
- DDoS protectionalways on
- 1 IPv4 addressmore at $2 each
- VNC consoleand full root access
FAQ
Questions people ask first.
Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.
Can I use SSH keys with WeTTY instead of passwords?
Not in the way you would with a desktop client. The SSH client runs inside the container, so any private key it uses lives on the server, and the person in the browser proves nothing by possessing it. Keep password authentication on the internal network only, as above, and put a real login in front of the page.
Why does the container exit right after an upgrade?
Almost always because the deployment predates 4.0.0 and has no trusted origin configured. Add --allowed-origin=https://your.domain (or the ALLOWEDORIGINS variable, comma-separated) and start it again. The origin must match the address users type, without a path.
Can WeTTY connect to my other servers?
Yes: set --ssh-host to another machine and WeTTY will open SSH sessions there. The simpler pattern is to keep this VPS as a jump host and SSH onward from its shell. Do not solve it with --allow-remote-hosts on a public page.
Does it need its own domain or port?
It needs neither. Caddy serves it on 443, and --base lets you run it under a path such as /term/ on an existing domain. Upstream warns against a base path starting with /ssh/, which breaks its username matching.
Do I have to prove my identity to order?
No. We run no-KYC hosting: an email address is enough, and payment is in crypto. Your obligations under the acceptable use rules apply all the same.
Will WeTTY use up my VPS transfer?
In practice it will not. Standard includes 15 TB a month; a heavy terminal user moves on the order of a dozen gigabytes (theoretical estimate above). Downloads and container images pulled from that shell count towards the same allowance.
Sources
Every fact on this page, with its source
Checked 4 Nov 2026 unless noted.
Swiss law and authorities
- Revised FADP in force since 1 September 2023Fedlex, RS 235.1
- VÜPF/OSCPT revision not in force, second consultation announcedadmin.ch · checked 31 Oct 2026
- Unauthorised access to a data processing system, art. 143bis Swiss Criminal Code (SR 311.0)Fedlex, SR 311.0
EU and other countries
- EU adequacy for Switzerland confirmed on 15 January 2024European Commission
- CLOUD Act executive agreements limited to the UK and AustraliaUS Department of Justice · checked 31 Oct 2026
Industry, providers and software
- WeTTY README: purpose, prerequisites (Node.js ≥ 20), CLI flags, --ssh-key warning, Docker imagegithub.com/butlerx/wetty
- WeTTY releases: 4.2.1 (25 October 2026), 4.0.0 with mandatory trusted origins (5 October 2026), 3.3.1–3.3.5 security fixes (27–29 September 2026)github.com/butlerx/wetty/releases
- WeTTY flags documentation: default port 3000, host 0.0.0.0, base /, --allowed-origin, ping interval/timeout defaults, unauthenticated /metrics, --allow-remote-hostsbutlerx.github.io/wetty/flags
- YunoHost WeTTY package, runtime RAM declared for 2.7.0github.com
Other references
- Docker Hub page for wettyoss/wetty (description still from the 1.x era)hub.docker.com/r/wettyoss/wetty
ALP1·Swiss Alps
Your server in the Alps, ready when you are.
Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.
