SSH has no Host header
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
explains how multi-tenant SSH hosting can route logins without per-VM IPs, a trick engineers building SSH-based platforms can reuse.
Simon Willison explains how exe.dev, a hosting service charging $20/month for up to 25 virtual machines sharing 2 CPUs and 8GB RAM, can route your SSH logins to the right machine. SSH, unlike web traffic, has no 'Host header' telling servers which site you want. exe.dev solves this by giving each customer's VMs IP addresses unique to that account, then identifying the user by their SSH key. It is a neat piece of infrastructure plumbing, useful to anyone running shared servers.
exe.dev sells SSH-only hosting at $20/month for up to 25 VMs sharing 2 CPUs and 8GB RAM. Its load balancer cannot use a Host header because SSH has none, so it assigns each customer a distinct set of shared IPs and authenticates the account via the user's SSH public key before forwarding traffic. For buyers this means cheap, isolated VM hosting without per-machine IP costs; competitors relying on per-VM IP allocation face a cost disadvantage.
SSH lacks a Host header equivalent, so a single shared IP cannot be dispatched by name. exe.dev's workaround: VMs share IPs across many users, but each customer's VMs get an IP unique within that account. The infrastructure reads the SSH public key presented during handshake, resolves the owning account, and forwards the session to the correct VM. Limitation: routing depends entirely on key-based identity rather than destination address.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.