Instant Linux boxes via SSH for builders and AI agents.
██████ ██ ██ ████████ ██ ██ ███████ ██████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ █████ ████████ ██████ ██ ██ ███████ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██████ ██ ██ ████████ ████████ ████████ ███████ ██████ ██ ██
Connect with your SSH key. Pay for time running or parked, with no subscription.
ssh shellbox.dev home# get started or find a box to openssh shellbox.dev help# browse commands by topicssh shellbox.dev create <name> [xN]# create a stock boxssh shellbox.dev create-from-oci <name> <image># create from an OCI imagessh shellbox.dev list# see box sizes, states and URLsssh <name>@shellbox.dev# connectssh shellbox.dev duplicate <src> <new># copy a stopped boxssh shellbox.dev keepalive <name># toggle always-on modessh shellbox.dev wakeup <name># toggle HTTP wakeupssh shellbox.dev cron <name> <int> [run]# scheduled wake/run/stopssh shellbox.dev funds <amount># top up balance ($10 min)ssh shellbox.dev billing# check balance, usage and hourly rateStart with an SSH key and a prepaid balance. From your terminal, request a $10 top-up and open the checkout link it returns.
ssh shellbox.dev funds 10Choose a name and size. New boxes use Cloud Hypervisor with private guest RAM and support nested KVM; no backend flag is needed. An x2 box has 4 vCPUs, 8 GiB of RAM and 100 GiB of disk.
ssh shellbox.dev create dev1 x2Box 'dev1' created successfully (x2) URL: https://dev1-a1b2c3d4.shellbox.dev Email: dev1-a1b2c3d4@in.shellbox.dev
When OCI support is enabled, Shellbox can turn a compatible public Linux image into a bootable disk. The first create prepares the image. You can also prepare it ahead of time. See supported images.
ssh shellbox.dev image prepare docker.io/library/debian:bookworm-slimssh shellbox.dev create-from-oci debbox docker.io/library/debian:bookworm-slimTo find a box, open your Shellbox home screen. It shows the state and login command for each box on your SSH key.
ssh shellbox.dev homeUse the box name as your SSH username. Shellbox starts the box and opens a root shell. A valid snapshot brings your processes back. If saved memory is missing or unusable, the box boots from its existing disk instead. Files saved to disk remain; unsaved work in RAM does not.
ssh dev1@shellbox.devWith the sb host alias, ssh sb opens the home screen and ssh dev1@sb opens that box.
scp file.txt dev1@shellbox.dev:/root/scp dev1@shellbox.dev:/root/file.txt ./sftp dev1@shellbox.devssh -L 8080:localhost:80 dev1@shellbox.devThe last command makes port 80 in the box available at localhost:8080 on your machine.
List your boxes to see their size, image source, hypervisor, state and URL. Use --json to select the fields you need.
ssh shellbox.dev listssh shellbox.dev list --json | jq -r '.boxes[] | [.name, .state] | @tsv'dev1 stopped gitea running
After a Cloud Hypervisor box finishes stopping, copy its disk under a new name. The copy inherits its size but starts fresh processes. If a stop is still finishing, duplicate waits before copying the disk. Firecracker boxes cannot be duplicated.
ssh shellbox.dev duplicate dev1 dev1-forkBox 'dev1-fork' created from 'dev1' (x2) URL: https://dev1-fork-7e8f9a0b.shellbox.dev
In the default mode, new boxes start stopping when the last managed SSH session closes. A stop reports stopped while Shellbox copies RAM in the background. Reconnect before the final commit and you get the same running box; reconnect later and it restores from the checkpoint. To request a stop yourself, run:
ssh shellbox.dev stop dev1For details on stopping and reconnecting, run ssh shellbox.dev help stop.
/cron on port 80, then stop after the run window when no sessions are active.ssh shellbox.dev keepalive dev1ssh shellbox.dev wakeup dev1 30ssh shellbox.dev cron dev1 60 5An x4 box uses four x1 slots. The 176-hour estimate assumes 8 hours on each of 22 days, plus 544 hours parked. All estimates cover 30 days.
| Size | Running/hr | Parked/30d | vCPUs | RAM | Disk | 176h running | 720h running |
|---|---|---|---|---|---|---|---|
| x1 | $0.02 | $0.50 | 2 | 4 GiB | 50 GiB | $3.90 | $14.40 |
| x2 | $0.04 | $1.00 | 4 | 8 GiB | 100 GiB | $7.80 | $28.80 |
| x3 | $0.06 | $1.50 | 6 | 12 GiB | 150 GiB | $11.69 | $43.20 |
| x4 | $0.08 | $2.00 | 8 | 16 GiB | 200 GiB | $15.59 | $57.60 |
| x5 | $0.10 | $2.50 | 10 | 20 GiB | 250 GiB | $19.49 | $72.00 |
| x6 | $0.12 | $3.00 | 12 | 24 GiB | 300 GiB | $23.39 | $86.40 |
| x7 | $0.14 | $3.50 | 14 | 28 GiB | 350 GiB | $27.28 | $100.80 |
| x8 | $0.16 | $4.00 | 16 | 32 GiB | 400 GiB | $31.18 | $115.20 |
Check your prepaid balance, usage so far and each box’s hourly rate. New boxes can show stopped on the home screen as soon as Shellbox accepts a stop. Billing switches to the parked rate when the VM exits.
ssh shellbox.dev billingThe minimum top-up is $10. Below $5, Shellbox stops running boxes. At zero balance, stopped boxes are eligible for deletion during maintenance. You can request a refund of unused funds within three months of payment.
Each box has a managed HTTPS URL and an inbound email address. You can point a custom domain at the URL. If show lists a public IPv6 address, you can also connect directly while the box is running.
SSH setup, box behavior and account limits.
The SSH client and server negotiate a key exchange when you connect. To check the algorithm used by your connection, run the command below and look for kex: algorithm: in the diagnostic output.
$ ssh -v shellbox.dev helpOpenSSH can verify a host key using a matching SSHFP record validated by DNSSEC. Add this entry to ~/.ssh/config to enable the check.
Host shellbox.dev
VerifyHostKeyDNS yesIf your resolver cannot validate the record, OpenSSH falls back to its usual host-key check. Verify the fingerprint before accepting an unfamiliar key.
Add this entry to ~/.ssh/config. The alias shortens the hostname to sb. OpenSSH reuses an existing connection for up to ten minutes after the last session closes, so repeated commands can skip a new handshake.
Host sb
HostName shellbox.dev
User _shellbox
VerifyHostKeyDNS yes
ControlMaster auto
ControlPersist 10m
ControlPath ~/.ssh/shellbox-%CUser _shellbox makes ssh sb open your home screen. Give a box name to open its shell.
$ ssh sb
$ ssh sb list
$ ssh vm1@sbWithout a configured user, SSH normally sends your local login name. If it matches a box, you connect to it. For a registered key with no matching box, an interactive login shows the missing name and your boxes, then exits with status 1. Use ssh shellbox.dev home to open the home screen with any username.
Multiplexing is per SSH user/host/port, so ssh sb list, ssh vm1@sb, and ssh vm2@sb each use their own control connection. If you use pooling for box logins and want to tear down the master immediately, run ssh -O exit vm1@sb. To request a stop without waiting for the pooled connection to close, run ssh sb stop vm1.
Generate one:
$ ssh-keygen -t ed25519Press Enter to accept the defaults, then open the home screen from your terminal.
$ ssh shellbox.dev homeYour SSH key is your identity. No signup, no email, no password.
Use ssh shellbox.dev home for first-time setup or ssh shellbox.dev help to explore the commands. Both work before you open an account. Requesting your first top-up with ssh shellbox.dev funds 10 creates an account for that key and returns a checkout link. You can also start with a promo code. Link additional public keys to use the same account on other devices.
In the default mode on a new box, the last managed SSH session ending starts a background stop. You may see stopped before the VM exits. Reconnect during preparation and the stop is cancelled; once the final commit starts, the connection waits for it and resumes the saved box. Existing Firecracker boxes and CH boxes restored from shared-RAM snapshots still use their original disconnect grace. If a legacy CH box later cold-boots from disk, it uses private RAM on that boot; a normal resume does not convert it.
The parked rate starts when the VM actually stops, not when the stop request is accepted. Shellbox normally resumes saved processes, including files in tmpfs. If a memory checkpoint is unusable, Shellbox discards it and cold-boots from the same disk on login once it is safe to start a new VM. Running jobs, nested VMs and their unsaved RAM do not survive that fallback. Keep important output on persistent storage.
Use ssh shellbox.dev stop <name> to request a stop immediately, or ssh shellbox.dev keepalive <name> to keep a background job running after you disconnect.
With wakeup enabled, a request to the managed HTTPS URL can start a stopped box. Serve HTTP on port 80 inside the guest. Allow time for the first request to start the box.
Run ssh shellbox.dev wakeup <name> to toggle the mode. The default idle timeout is five minutes. To set it to 30, run ssh shellbox.dev wakeup <name> 30. When the box stops, billing switches to the parked rate.
Cron wakes a box, sends POST /cron to port 80 in the guest and lets the box run for a set time. Bind your HTTP server to 0.0.0.0:80 so it can receive the request.
$ ssh shellbox.dev cron mybox 60 5This schedules the next wake 60 minutes after the previous cron stop, with a five-minute run window. An active SSH session keeps the box running past the window. To disable an existing schedule, run ssh shellbox.dev cron mybox. Parked time is billed at the lower rate.
Add --json to a management command to read one JSON object from stdout.
$ ssh shellbox.dev home --json
$ ssh shellbox.dev show mybox --json
$ ssh shellbox.dev billing --jsonA successful command exits with status 0. A failed command exits with status 1. In JSON mode, read the error string from the object on stdout. In plain text, the error goes to stderr.
Use ssh shellbox.dev help billing --json for one command’s schema or get the whole SSH API reference from your terminal.
$ ssh shellbox.dev help --jsonFields are only added over time, never removed or renamed. Safe to depend on any field you see today.
Yes. An agent on your workstation can use your existing Shellbox connection. An agent inside a box needs an SSH key linked to your account. Each linked key grants full account access, including access to your other boxes.
For an agent inside the box, generate a dedicated key there. Copy its public key to your workstation and register it from a device that already has access. Replace the example path with the public key you copied.
$ ssh shellbox.dev key add "$(cat ./agent-key.pub)"When the job finishes, have the agent run the command below. It requests a stop and clears keepalive. The parked rate applies once the box stops.
$ ssh shellbox.dev stop myboxUse key list and key remove <fingerprint-prefix> to revoke the agent’s key when it is no longer needed.
Set your editor’s remote SSH target to <name>@shellbox.dev. Shellbox supports SSH commands, SFTP and port forwarding. Your guest image must also meet the editor’s remote-server requirements.
Shellbox supports OpenSSH port forwarding. Use the same flags you'd use with any other SSH server.
Local forwarding — expose a port from your box on your local machine:
$ ssh -L 8080:localhost:80 mybox@shellbox.devThen open http://localhost:8080 on your machine to reach port 80 inside the box.
Remote forwarding — expose a local service to the box:
$ ssh -R 3000:localhost:3000 mybox@shellbox.devThat makes your local port 3000 reachable from the box at localhost:3000.
SOCKS proxy — route traffic through the box:
$ ssh -D 1080 mybox@shellbox.devConfigure your browser or tools to use localhost:1080 as a SOCKS5 proxy.
Useful quality-of-life flags: -N to skip opening a shell, and -f to send the SSH client to the background after authentication.
$ ssh -fN -L 8080:localhost:80 mybox@shellbox.devYou can also make forwards persistent in ~/.ssh/config:
Host mybox
HostName shellbox.dev
User mybox
LocalForward 8080 localhost:80Each box gets a public URL like https://dev1-a1b2c3d4.shellbox.dev with automatic TLS. HTTP requests to this URL are proxied to port 80 on your box.
Important: Your HTTP server must listen on 0.0.0.0:80, not localhost or 127.0.0.1. Shellbox delivers public HTTPS requests, cron webhooks (POST /cron), and email webhooks (POST /email) through the box's network interface on port 80.
$ python3 -m http.server 80 --bind 0.0.0.0Yes. You can attach custom domains to any box. Custom domains route through the same Shellbox reverse proxy as the canonical boxname-hash.shellbox.dev URL, so wakeup mode, idle tracking, and automatic TLS all work identically.
$ ssh shellbox.dev domain add mybox app.example.comThis creates a pending mapping. Next, set up a DNS record pointing your domain to the box's canonical hostname. A CNAME record is recommended for subdomains, but A/AAAA records that resolve to the Shellbox ingress are also accepted. Apex domains may need ALIAS/ANAME support from your DNS provider. DNS must be set to DNS-only (not CDN-proxied):
app.example.com CNAME mybox-a1b2c3d4.shellbox.devThen verify:
$ ssh shellbox.dev domain verify mybox app.example.comOnce verified, your box is reachable at https://app.example.com. TLS certificates are issued automatically. The first request after verification may take a few extra seconds while the certificate is obtained. If certificate issuance fails (e.g. rate limits or DNS propagation delay), it will be retried on subsequent requests.
Key details:
domain verify; v1 does not continuously revalidate DNS ownership after activationManage domains with: domain add, domain verify, domain remove, domain list. Add --json for machine-readable output.
When direct IPv6 is enabled on the host, new boxes can receive a stable public IPv6 address. Check your box with:
$ ssh shellbox.dev show mybox --json | jq -r .public_ipv6An address lets you reach the running guest directly over SSH, TCP or UDP. A value of null means the box has no direct public IPv6 address. For HTTP wakeup, idle tracking and managed TLS, use the box’s HTTPS URL. Direct IPv6 traffic does not wake a stopped box.
Use Mosh when your box has a direct IPv6 address, your client can reach it over UDP and mosh-server is installed in the guest. Use the address from show.
$ mosh root@<ipv6>Start the box through managed SSH first. Direct connections bypass Shellbox session tracking. Use keepalive if the box needs to stay running for your Mosh session.
Through the managed Shellbox SSH endpoint, the SSH username selects the box name: ssh mybox@shellbox.dev connects to box mybox and logs into the guest as root. So non-root guest usernames are not available through that bastion path.
If your box has a direct IPv6 address, you can create a Linux user inside it and connect to that address:
root@mybox:~# adduser alice
root@mybox:~# mkdir -p /home/alice/.ssh
root@mybox:~# cp /root/.ssh/authorized_keys /home/alice/.ssh/authorized_keys
root@mybox:~# chown -R alice:alice /home/alice/.ssh
$ ssh alice@<ipv6>Direct IPv6 works while the box is running and does not wake stopped boxes. Start it first through the Shellbox SSH flow, or keep it running with ssh shellbox.dev keepalive mybox. If you only need to become another user occasionally, you can also connect normally and run su - alice or sudo -iu alice inside the box.
The create command prints an address such as dev1-a1b2c3d4@in.shellbox.dev. Inbound mail forwarding uses Cloudflare to deliver a POST /email request to the box’s HTTPS URL. To accept the request, run a handler on 0.0.0.0:80 and keep the box running or enable HTTP wakeup.
Standard SCP and SFTP:
$ scp file.txt dev1@shellbox.dev:/root/
$ scp dev1@shellbox.dev:/root/file.txt ./
$ sftp dev1@shellbox.devWhen OCI image preparation is enabled, use an image with these properties:
linux/amd64apt-get available so Shellbox can install SSH and guest runtime packagesA good starting point is something like docker.io/library/ubuntu:24.04, docker.io/library/debian:bookworm-slim, or any Ubuntu-derived image that still includes package manager support.
Today, minimal images from other distributions, images for other CPU architectures, private registries, and images without the expected userspace tools may fail preparation.
Shellbox turns a Docker/OCI image into the root filesystem of a normal microVM. The box starts as a Linux guest with SSH access.
That means Docker/container runtime semantics such as CMD, ENTRYPOINT, EXPOSE, health checks, and container namespaces are not preserved as Docker behavior. You SSH into a VM and run whatever processes you want inside it.
The usual workflow is:
$ ssh shellbox.dev image prepare docker.io/library/debian:bookworm-slim
$ ssh shellbox.dev create-from-oci mybox docker.io/library/debian:bookworm-slim
$ ssh mybox@shellbox.devFor a repository you access with an SSH key on your workstation, forward your SSH agent for this session:
$ ssh -A mybox@shellbox.devInside the box, use the repository’s SSH clone URL. A process with access to the forwarded agent can ask it to authenticate while the session is open. For unattended jobs, generate a dedicated key in the box and register its public key as a deploy key for that repository.
An x1 box has 2 vCPUs, 4 GiB of RAM and 50 GiB of disk. Each size multiplies all three resources. An x4 box counts as four slots. The published account limits are 16 running slots and 64 total slots. See pricing for all eight sizes.
Box sizes are multipliers from x1 to x8 that scale vCPU, RAM, disk, and billing rates. Create a sized box with ssh shellbox.dev create mybox x2. Size is set at creation and cannot be changed — delete and recreate to resize. Duplicated boxes inherit the source box's size.
$ ssh shellbox.dev rename mybox newnameThis updates the box name instantly. The box's URL and email address will change to reflect the new name. The box can be running or stopped — renaming is safe during active SSH sessions. Custom domains attached to the box are not affected by rename — they point to the VM, not the box name.
Keep a backup of important files outside Shellbox using scp or sftp. To make a working copy within your account, duplicate a stopped Cloud Hypervisor box. The copy contains its disk and counts toward your balance and slot limit.
Our privacy notice lists Hetzner in Finland (EU) as the hosting location.
Generate a key on the new device. From a device already linked to the account, add the new public key with ssh shellbox.dev key add "<public-key>". Each linked key gets full account access. Use key list to view linked keys and key remove <fingerprint-prefix> to revoke one.
Yes — in stock boxes. Stock boxes ship with Ubuntu 24.04 LTS and Docker pre-installed. No setup needed:
$ ssh mybox@shellbox.dev
root@mybox:~# docker run hello-worldYou can pull images, build containers, and run docker compose like you would on any Linux server.
On a box created with create-from-oci, Docker availability depends on the source image. You can install Docker yourself if the image supports it.
New boxes use Cloud Hypervisor, so you can run a VM inside your box without selecting a backend. The host CPU and kernel must support nested KVM. Existing Firecracker boxes keep their original backend.
$ ssh shellbox.dev create mybox
$ ssh mybox@shellbox.dev test -c /dev/kvmThe second command checks the guest for the KVM device. A zero exit status means the device is present.
A guest shutdown ends the operating system and its processes. To stop the box through Shellbox and clear keepalive, use the management command from your workstation. On a new box, show can say stopped as soon as Shellbox accepts the request. The parked rate starts at physical stop, not at that acknowledgement.
$ ssh shellbox.dev stop mybox
$ ssh shellbox.dev show myboxA stop preserves an existing wakeup or cron configuration. Disable that mode as well if the box should stay stopped.
Add --json to a Shellbox management command to read one JSON object from stdout. Try ssh shellbox.dev home --json for your boxes and their login commands.
Run ssh shellbox.dev help --json for all response schemas, or ssh shellbox.dev help billing --json for billing alone.
A successful Shellbox command exits with status 0. A command failure exits with status 1. With --json, stdout contains an object with an error string and any command-specific details. Plain-text errors go to stderr.
Use standard SSH tools to open a shell, run a program, transfer files or forward ports. Commands inside a box use the guest program’s own output and exit status.
The --json output is stable: fields are only added, not removed or renamed, and existing types do not change. If a breaking change is ever needed, it will ship under a new flag such as --json-v2.
$ ssh shellbox.dev help --json
Release notes and technical posts from the Shellbox team. Examples and comparisons reflect their publication dates.
Our first benchmark measured the wrong thing. We stopped a box, timed ssh … echo hi, and got a respectable number. But a file we'd left in /dev/shm had vanished. The kernel's boot ID had changed, too. That wasn't a fast resume. It was a reboot.
New stock and OCI boxes use Cloud Hypervisor with private guest RAM. Just run ssh shellbox.dev create dev1; --ch still works. If you own a Firecracker box, nothing is moved or converted: use the same commands to connect, stop, resume or delete it. Neither create --fc nor duplicating an existing Firecracker box will make a new one.
We chose CH because people run VMs inside their boxes. With nested KVM, the useful test isn't whether /dev/kvm exists. It's whether a process inside the inner VM can pick up where it left off after the outer VM stops.
On restore, CH can map the saved memory file privately instead of copying it all up front. A page is read when the guest touches it. If the guest writes to it, it gets its own changed copy; the snapshot isn't overwritten. SSH can answer long before the guest has used every page. The tradeoff: mapping a file makes restore cheap, but it doesn't make that file cheap to write.
Shellbox now uses CH's live-migration sender for ordinary stops on new private-RAM boxes. The stop command says stopped as soon as the request is accepted. A worker copies RAM while the guest runs, not to a second running VM but into a local checkpoint. During that copy a reconnect can cancel the stop and use the original guest. At final commit the guest pauses for the last changed pages and device state. From that point a reconnect waits for the original to exit, then restores the saved box.
Before wiring this into the bastion, we measured the mechanism on one x4 test box (8 vCPUs, 16 GiB of private RAM) across two consecutive stops. After both, the outer kernel kept its boot ID, and a counter in a running inner VM kept ticking with the same random token.
These are direct SSH measurements on one local KVM host, not through the public bastion. They demonstrate the mechanism, not a promised latency or an instant physical stop. Every checkpoint still scanned and sent 16 GiB plus changed pages. Several big boxes stopping together compete for memory and disk bandwidth, so the worker limit defaults to two concurrent copies per host. Reporting a stop immediately does not instantly free RAM or start the parked billing rate.
A snapshot is for carrying running work across a stop, not for backing it up. If Shellbox can't recover the memory checkpoint, it discards that checkpoint, keeps the root disk, and cold-boots the box on the next connection. Files already saved to disk remain. Open processes, tmpfs files, and work held only in an inner VM's RAM don't. Save important results to disk and keep a separate backup.
December 2026 update. The backend choices and examples below describe the April release. See private RAM and fast resume for current box behavior and the SSH API reference for JSON errors and exit status.
Two important upgrades are live today: Cloud Hypervisor boxes with nested virtualization, and a stable JSON interface for scripting and automation.
--chAt the time of the April release, Firecracker was the default for new boxes. To get nested virtualization, users could select Cloud Hypervisor with --ch.
# create a box on Cloud Hypervisor $ ssh shellbox.dev create nestedbox --ch Creating box... Box 'nestedbox' created successfully (x1) URL: https://nestedbox-a1b2c3d4.shellbox.dev Email: nestedbox-a1b2c3d4@in.shellbox.dev Connect with: ssh nestedbox@shellbox.dev
Inside a CH-backed box, /dev/kvm is available. That means you can run KVM workloads inside your shellbox box — Firecracker, QEMU, or other virtualization-based tools — as long as the host supports nested KVM.
$ ssh nestedbox@shellbox.dev root@nestedbox:~# ls -l /dev/kvm
This is especially useful for CI jobs, low-level systems work, sandboxing hypervisors, kernel experiments, and anything else that needs real virtualization inside the guest.
Backend choice is per box. Existing boxes keep using the backend they were created with. Firecracker boxes stay on Firecracker. CH boxes stay on Cloud Hypervisor. Nothing is silently migrated underneath you.
In April, the following commands selected different backends. Today both create a CH box:
# default backend in April 2026 $ ssh shellbox.dev create fastbox # nested virtualization backend $ ssh shellbox.dev create kvmbox --ch
--json for automationsshellbox commands now have a machine-readable mode built for scripts, CI, agents, and automation tooling. Add --json and you get structured output instead of human-formatted text.
# create a box and capture its metadata $ ssh shellbox.dev create api-box --json { "name": "api-box", "id": "a1b2c3d4-...", "size": 1, "backend": "fc", "url": "https://api-box-a1b2c3d4.shellbox.dev", "connect": "ssh api-box@shellbox.dev" } # list boxes and filter with jq $ ssh shellbox.dev list --json | jq '.boxes[] | {name, state, backend}' # delete when done $ ssh shellbox.dev delete api-box --json
You can use this from shell scripts, Python, GitHub Actions, CI runners, or AI agents without scraping terminal text.
The JSON output is intended to be stable over time. Fields may be added, but existing fields are not removed or renamed, and existing types do not change. If a breaking change is ever necessary, it will ship under a new flag such as --json-v2 rather than changing the meaning of --json.
That means you can build automation against today's output and expect it to keep working as shellbox grows.
The command-by-command JSON schema reference is live at /ssh-api.html. You can also inspect the current interface directly from the CLI:
$ ssh shellbox.dev help --json
# fast default box $ ssh shellbox.dev create dev1 # Cloud Hypervisor box with nested virt support $ ssh shellbox.dev create dev-kvm --ch # automation-friendly output $ ssh shellbox.dev show dev-kvm --json $ ssh shellbox.dev list --json | jq '.boxes[] | select(.backend=="ch")'
Questions or issues? Open an issue or email support@shellbox.dev.
Shellbox management commands now have a documented JSON interface. Add --json to a supported command and pipe its output into your scripts. See the SSH API reference for commands and response fields.
No REST endpoints. No API tokens to rotate. No OAuth dance. No SDK to install. Your SSH key authenticates every call. If you can run ssh, you have an API client.
# create a box programmatically $ ssh shellbox.dev create mybox --json { "name": "mybox", "id": "a1b2c3d4-...", "size": 1, "url": "https://mybox-a1b2c3d4.shellbox.dev", "connect": "ssh mybox@shellbox.dev" } # list boxes $ ssh shellbox.dev list --json | jq '.boxes[] | select(.state=="running")' # delete when done $ ssh shellbox.dev delete mybox --json {"name": "mybox", "status": "deleted"}
The full API covers box lifecycle (create, list, show, duplicate, rename, stop, delete), modes (keepalive, wakeup, cron), OCI images (image prepare, image status, create-from-oci), billing (billing, funds, payments, refund), and key management (key list, key add, key remove).
Every endpoint is documented with its exact response schema.
SSH gives you authentication, encryption, and multiplexing for free. There are SSH libraries in every language. There's no server to provision, no webhook URL to configure, no token to store in your CI secrets. Your ~/.ssh/id_ed25519 is the only credential you need.
For scripting and automation, it means you can manage infrastructure with a bash one-liner:
# create a box, inspect its kernel, then delete it $ BOX=$(ssh shellbox.dev create ci-$RANDOM --json | jq -r .name) $ ssh "$BOX@shellbox.dev" uname -a $ ssh shellbox.dev delete "$BOX" --json
For AI agents, it means your agent gets a real Linux sandbox with Docker, a public URL, and full root — all accessible via standard SSH that every agent framework already supports.
December 2026 update. A management command that fails with --json exits with status 1 and writes a JSON object containing error to stdout. See errors and exit status for the current behavior.
The --json output is a stable interface. Fields are only added, never removed or renamed. Types don't change. If a breaking change is ever necessary, it will ship under a new flag (--json-v2) and the original --json output will continue to work unchanged.
You can also get the full schema reference at any time:
$ ssh shellbox.dev help --json
Command reference and response schemas for JSON-enabled commands.
A big batch of improvements shipping today. Stock boxes get a better base image, Docker works out of the box, you can now create boxes from OCI images, and the SSH rate limit is raised.
The stock box image is now Ubuntu 24.04 LTS (Noble Numbat). Every new box you create with create starts from this image. It's a clean, minimal Ubuntu server install with everything you'd expect.
Stock boxes now ship with Docker pre-installed and ready to go. No setup, no apt install, no adding yourself to the docker group. Just connect and run:
$ ssh dev1@shellbox.dev Starting box... Connected! root@dev1:~# docker run hello-world Hello from Docker! This message shows that your installation appears to be working correctly. ...
docker compose, multi-stage builds, volume mounts — it all works like you'd expect on any Linux server. Pull images, build containers, run your stack.
This is the big one. You can now create boxes from public Docker/OCI images. Instead of starting from the stock Ubuntu image, your box boots with the filesystem contents of whatever image you choose.
The workflow is two commands. First, prepare the image (this pulls it and builds a bootable rootfs):
$ ssh shellbox.dev image prepare docker.io/library/debian:bookworm-slim Preparing image, this may take a couple of minutes... Image prepared: docker.io/library/debian:bookworm-slim Digest: sha256:abc123... Status: ready
Then create a box from it:
$ ssh shellbox.dev create-from-oci mydebian docker.io/library/debian:bookworm-slim Creating box... Box 'mydebian' created successfully (x1) URL: https://mydebian-a1b2c3d4.shellbox.dev Email: mydebian-a1b2c3d4@in.shellbox.dev Connect with: ssh mydebian@shellbox.dev
If the image hasn't been prepared yet, create-from-oci will prepare it for you automatically — you'll see a "Preparing image..." message while it works.
You can check image preparation status anytime:
$ ssh shellbox.dev image status docker.io/library/debian:bookworm-slim Image: docker.io/library/debian:bookworm-slim Canonical ref: docker.io/library/debian:bookworm-slim Status: ready Digest: sha256:abc123... Architecture: amd64 Guest layer: v1
Once prepared, images are cached on the server. Creating additional boxes from the same image is instant — no re-downloading.
OCI-backed boxes show up in list with an oci source tag and show displays the image reference and digest:
$ ssh shellbox.dev list NAME SIZE SRC STATE URL ────────────────────────────────────────────────────────────────────────── dev1 x2 stock running https://dev1-a1b2c3d4.shellbox.dev mydebian x1 oci stopped https://mydebian-a1b2c3d4.shellbox.dev $ ssh shellbox.dev show mydebian Name: mydebian State: stopped Size: x1 Source: oci Image ref: docker.io/library/debian:bookworm-slim Image digest: sha256:abc123...
Current OCI support focuses on:
linux/amd64 architectureapt-get available (Ubuntu, Debian, and derivatives)Good starting points:
docker.io/library/ubuntu:24.04docker.io/library/debian:bookworm-slimdocker.io/library/node:22-bookwormdocker.io/library/python:3.13-bookwormdocker.io/library/rust:bookwormdocker.io/library/golang:1.23-bookwormOCI-backed boxes are normal microVMs — not Docker containers. The image provides the filesystem contents, but Docker runtime semantics like CMD, ENTRYPOINT, EXPOSE, and health checks are not preserved. You SSH in and run whatever you want. See the FAQ for more details.
The per-IP SSH connection rate limit has been raised from 100 to 200 connections per minute. This helps with workflows that open many short-lived SSH connections in quick succession — automated scripts, CI pipelines, or rapid scp transfers.
If you were hitting the old limit, you shouldn't anymore.
# create a stock box with Docker $ ssh shellbox.dev create dev1 $ ssh dev1@shellbox.dev root@dev1:~# docker run hello-world # create a box from a Debian image $ ssh shellbox.dev create-from-oci mydebian docker.io/library/debian:bookworm-slim # create a box from a Python image $ ssh shellbox.dev create-from-oci pybox docker.io/library/python:3.13-bookworm
Questions or issues? Open an issue or email support@shellbox.dev.
We launched on Hacker News. Someone commented: "Have fun racing to the bottom."
They have a point. Beating a $4/month Hetzner box sounds impossible. It's not. This post explains how.
In this January 2026 comparison, an x1 box cost less than the $4.09 server below at under 186 running hours in a 30-day month. For today’s Shellbox estimates, see pricing.
Shellbox gives you a Linux box over SSH. Use it for a shell, a tmux session or a file transfer. By default it stops after your last session ends and switches to the lower parked rate.
Open an SSH session from your terminal or editor. Your files stay on disk between sessions. When a saved memory snapshot is available, your running processes resume too.
Traditional cloud providers charge you for a VM whether you're using it or not. Hetzner's CX22 (2 vCPU, 4GB RAM, 40GB SSD) costs a flat rate around the clock. Great if you're running a production server. Wasteful if you're a developer who codes a few hours a day.
"But AWS and Azure let you stop instances!" True. AWS t3.medium costs $0.0416/hr when running. Stop it, and you still pay ~$4/month for 50GB EBS storage. Azure B2s is similar. That's 8x our stopped cost, and their running rate is 2x ours.
Developers don't use their dev boxes 24/7. Most of us work 4-8 hours a day, maybe less. Why pay for the other 16-20 hours?
A stopped VM releases its guest memory on the host. We keep its disk and any saved memory snapshot, which costs less than leaving the VM running.
Our bottleneck is disk, not memory. And disk is cheap.
Let's compare shellbox vs the alternatives for a similar spec (2 vCPU, 4GB RAM, 50GB disk):
| Hours/month | Shellbox | AWS/Azure | Hetzner |
|---|---|---|---|
| 20 hrs | $0.89 | $4.83 | $4.09 |
| 40 hrs | $1.27 | $5.66 | $4.09 |
| 80 hrs | $2.04 | $7.33 | $4.09 |
| 120 hrs | $2.82 | $8.99 | $4.09 |
| 160 hrs | $3.59 | $10.66 | $4.09 |
| 186 hrs | $4.09 | $11.74 | $4.09 |
| 300 hrs | $6.29 | $16.48 | $4.09 |
| 720 hrs (24/7) | $14.40 | $33.95 | $4.09 |
Shellbox formula: running_hrs * $0.02 + stopped_hrs * $0.000694
AWS/Azure formula: running_hrs * $0.0416 + $4/month storage
With the rates in this comparison, Shellbox breaks even with the $4.09 server at about 186 running hours per month. That’s roughly eight and a half hours on each of 22 workdays.
Won't cheap stopped instances attract crypto miners and other abuse?
Nope. Our running costs are roughly 3x Hetzner's rate. If you want to mine bitcoin or run botnets, you'd do it much cheaper elsewhere. Our pricing model naturally selects for legitimate dev workloads: burst usage with long idle periods.
We're not the only ones trying to solve this. Here's how we compare:
Sprites.dev offers persistent Linux environments with checkpoint/restore. Their pricing: $0.07/CPU-hour + $0.04375/GB-hour. For a 2 vCPU, 4GB RAM instance, that's roughly $0.315/hr while running - over 15x our rate. They use Firecracker too, but charge memory by the hour. Also: no real SSH access, only their CLI/API.
Exe.dev offers persistent SSH VMs at $20/month for up to 25 VMs - but here's the catch: all 25 VMs share a pool of just 2 CPUs and 8GB RAM total. Run a few VMs and you're quickly resource-starved. It's a flat subscription, so you pay whether you use them or not.
AWS and Azure offer pay-as-you-go too - but it's not the same experience. You have to log into a web console to start your instance, wait 30-60 seconds for it to boot, and remember to stop it when you're done or you keep paying. That's not "connect and code" - that's instance management.
| Service | Running Cost | Stopped Cost | Real SSH | Auto Start/Stop |
|---|---|---|---|---|
| Shellbox | $0.02/hr | $0.50/month | Yes | Yes |
| AWS t3.medium | $0.0416/hr | ~$4/month | Yes | No (manual) |
| Azure B2s | $0.0416/hr | ~$4/month | Yes | No (manual) |
| Sprites | ~$0.315/hr | storage only | No (CLI/API) | Yes |
| Exe | $20/month flat | Yes | Always on | |
| Hetzner | ~$4.09/month flat | Yes | Always on | |
Use duplicate to copy the disk of a stopped box before testing changes. For a dev server, enable wakeup and send a request to the URL printed by create, such as https://dev1-a1b2c3d4.shellbox.dev.
We run on Hetzner auction servers - dedicated hardware at steep discounts. This gives us predictable costs and full control.
The stack: Caddy handles TLS and routes traffic. Behind it, a custom Python SSH server built on asyncssh manages connections. HTTP requests to your box's URL endpoint go through an HTTP proxy that can wake the VM when wakeup mode is enabled.
December 2026 update: For the current creation policy, see why new boxes use Cloud Hypervisor. The comparison below describes the service at publication.
At publication, new boxes used Firecracker by default. Users could select Cloud Hypervisor with --ch for nested virtualization on a compatible host. Stock boxes include Docker on either backend.
Core/External architecture. The server is split into two parts. Core handles SSH connections - it's intentionally dumb, stateless, and stable. External handles all business logic: VM lifecycle, billing, commands. External runs as a subprocess, invoked fresh for each operation.
This split enables two things. First, fast disconnects: when you close your session, Core returns immediately. It fires off a background call to External which handles the snapshot and cleanup - you don't wait for it. Second, hot-swappable logic: we can update pricing, add new commands (like duplicate), or change billing algorithms without restarting the server or disturbing connected users. The next External call just picks up the new code.
Snapshots. The default disconnect mode at publication had a grace period before stopping the VM. A successful memory snapshot lets running processes resume on reconnect. A box without a usable snapshot boots from its disk.
Btrfs and reflinks. When you duplicate a stopped box, Shellbox copies its disk with cp --reflink=auto. On a filesystem with reflink support, the two disks share blocks until one changes them. On other filesystems a full copy can take longer.
Shellbox isn't for everyone:
But if you're a developer who wants a Linux box to hack on for a few hours a day, we're probably the cheapest option that actually works. Real SSH. Real persistence. Real savings.
Try it: ssh shellbox.dev help
Read the terms for using Shellbox, how we handle your data and how to request a refund.
Terms of Service for shellbox.dev. By using the service, you agree to these terms.
Last updated: February 21, 2026
shellbox.dev provides on-demand Linux virtual machines accessible via SSH. The Service is operated from the European Union.
Your SSH public key serves as your identity. You are responsible for keeping your private key secure. You can link additional SSH public keys to the same account. Each linked key grants account access.
You agree not to use the Service for:
Violation may result in immediate termination without refund.
Boxes are available in sizes x1 through x8. A base x1 box provides 2 vCPUs, 4 GiB of memory, and 50 GiB of storage. Resources scale linearly up to x8 (16 vCPUs, 32 GiB of memory, 400 GiB of storage). Network bandwidth is shared. We may throttle boxes that affect other users.
Limits are slot-based, where an xN box uses N slots. Per-user limits: 16 running slots, 64 total slots. For example, you could run four x4 boxes simultaneously, or sixteen x1 boxes, or any combination totaling up to 16 running slots.
Prepaid billing. Rates are per x1 slot: $0.02/hour while running, $0.000694/hour while stopped (about $0.50 for 30 days). An x4 box costs 4× the base rate. Minimum top-up: $10.00. Boxes stop when balance falls below $5.00 and are deleted at $0.00. Usage charges are prorated for elapsed time at the applicable rate.
Unused balance is refundable within 3 months of the original transaction. Usage charges are non-refundable. Refund requests are processed to the original payment method in 5-10 business days. See our full Refund Policy for details.
We do not guarantee data persistence and do not perform backups. You are responsible for backing up your data. Deleted boxes are permanently removed within 24 hours.
The Service is provided "as is" without warranty. We do not guarantee uptime or availability.
To the maximum extent permitted by law, we are not liable for indirect, incidental, or consequential damages. Our total liability shall not exceed the amount paid in the 12 months preceding any claim.
You may stop using the Service at any time. We may terminate access for violations or with reasonable notice.
We may modify these terms at any time. Continued use constitutes acceptance.
These terms are governed by the laws of Finland. Disputes shall be resolved in Helsinki courts.
Questions: support@shellbox.dev
Privacy Notice for shellbox.dev. We collect minimal data and respect your privacy.
Last updated: January 2026
shellbox.dev collects minimal data. We don't require names or email addresses.
All data stored in the EU (Hetzner, Finland).
We don't sell or share data except:
EU users can request access, rectification, erasure, or portability of their data. Delete boxes with ssh shellbox.dev delete <name>.
Delete all boxes, request refunds, stop using the Service. Records purged after 90 days of inactivity with zero balance.
Privacy inquiries: support@shellbox.dev
Refund Policy for shellbox.dev. Unused balance is refundable.
Last updated: February 2026
Unused balance can be refunded within 3 months of the original transaction:
$ ssh shellbox.dev refund <amount>
Processed to original payment method in 5-10 business days.
ssh shellbox.dev billingssh shellbox.dev refund 10Each refund request applies to one original payment. If your unused balance spans several payments, request the refundable amounts separately or contact support@shellbox.dev for help.
If terminated for ToS violations:
Contact us before filing payment disputes. We resolve valid issues within 48 hours. Chargebacks without contact may result in suspension.
Refund questions: support@shellbox.dev