Instant Linux boxes via SSH for builders and AI agents.

 ██████ ██    ██ ████████ ██       ██       ███████   ██████  ██    ██
██      ██    ██ ██       ██       ██       ██    ██ ██    ██  ██  ██
 █████  ████████ ██████   ██       ██       ███████  ██    ██   ████
     ██ ██    ██ ██       ██       ██       ██    ██ ██    ██  ██  ██
██████  ██    ██ ████████ ████████ ████████ ███████   ██████  ██    ██

Connect with your SSH key. Pay for time running or parked, with no subscription.

shellbox/
ssh shellbox.dev home# get started or find a box to open
ssh shellbox.dev help# browse commands by topic
ssh shellbox.dev create <name> [xN]# create a stock box
ssh shellbox.dev create-from-oci <name> <image># create from an OCI image
ssh shellbox.dev list# see box sizes, states and URLs
ssh <name>@shellbox.dev# connect
ssh shellbox.dev duplicate <src> <new># copy a stopped box
ssh shellbox.dev keepalive <name># toggle always-on mode
ssh shellbox.dev wakeup <name># toggle HTTP wakeup
ssh shellbox.dev cron <name> <int> [run]# scheduled wake/run/stop
ssh shellbox.dev funds <amount># top up balance ($10 min)
ssh shellbox.dev billing# check balance, usage and hourly rate
x1 base
2 vCPUs · 4 GiB RAM · 50 GiB disk. Sizes up to x8.
running
$0.02 per hour per x1 slot.
parked
About $0.50 per x1 slot for 30 days stopped.
auth
Use your SSH key. Link more keys to the same account.

Start 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 10

Create a box

Choose 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 x2
Box 'dev1' created successfully (x2)
URL:   https://dev1-a1b2c3d4.shellbox.dev
Email: dev1-a1b2c3d4@in.shellbox.dev

Create from an OCI image

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-slim
$ssh shellbox.dev create-from-oci debbox docker.io/library/debian:bookworm-slim

To 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 home

Use 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.dev

With the sb host alias, ssh sb opens the home screen and ssh dev1@sb opens that box.

Transfer files and forward ports

$scp file.txt dev1@shellbox.dev:/root/
$scp dev1@shellbox.dev:/root/file.txt ./
$sftp dev1@shellbox.dev
$ssh -L 8080:localhost:80 dev1@shellbox.dev

The 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 list
$ssh shellbox.dev list --json | jq -r '.boxes[] | [.name, .state] | @tsv'
dev1	stopped
gitea	running

Duplicate a stopped box

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-fork
Box 'dev1-fork' created from 'dev1' (x2)
URL: https://dev1-fork-7e8f9a0b.shellbox.dev

Choose when a box runs

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 dev1

For details on stopping and reconnecting, run ssh shellbox.dev help stop.

keepalive
Keep the box running after disconnect. Run the command again to disable it.
wakeup
Start on a request to the managed URL. With no active sessions, the box stops after the configured idle timeout.
cron
Wake after an interval, POST to /cron on port 80, then stop after the run window when no sessions are active.
$ssh shellbox.dev keepalive dev1
$ssh shellbox.dev wakeup dev1 30
$ssh shellbox.dev cron dev1 60 5

An 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.

SizeRunning/hrParked/30d vCPUsRAMDisk 176h running720h running
x1$0.02$0.5024 GiB50 GiB$3.90$14.40
x2$0.04$1.0048 GiB100 GiB$7.80$28.80
x3$0.06$1.50612 GiB150 GiB$11.69$43.20
x4$0.08$2.00816 GiB200 GiB$15.59$57.60
x5$0.10$2.501020 GiB250 GiB$19.49$72.00
x6$0.12$3.001224 GiB300 GiB$23.39$86.40
x7$0.14$3.501428 GiB350 GiB$27.28$100.80
x8$0.16$4.001632 GiB400 GiB$31.18$115.20

Estimate your bill

Box size
8h
22d
Running Parked Estimated 30-day total

Balance and refunds

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 billing

The 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.

Region
Our privacy notice lists Hetzner in Finland (EU).
Access
Authenticate with an SSH key. Each linked key has access to the same account.
Isolation
New boxes use Cloud Hypervisor. Existing Firecracker boxes stay supported on Firecracker. Read how private memory affects stop and resume.
Payments
Paddle handles checkout. Unused funds are refundable within three months.

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.

01Do you support post-quantum encryption?

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 help
02How do I skip the "trust this host?" prompt?

OpenSSH 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 yes

If your resolver cannot validate the record, OpenSSH falls back to its usual host-key check. Verify the fingerprint before accepting an unfamiliar key.

03How do I make SSH commands faster and shorter?

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-%C

User _shellbox makes ssh sb open your home screen. Give a box name to open its shell.

$ ssh sb
$ ssh sb list
$ ssh vm1@sb

Without 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.

04I don't have an SSH key. How do I get started?

Generate one:

$ ssh-keygen -t ed25519

Press Enter to accept the defaults, then open the home screen from your terminal.

$ ssh shellbox.dev home

Your SSH key is your identity. No signup, no email, no password.

05Do I need to create an account?

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.

06What happens when I disconnect?

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.

07What is wakeup mode?

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.

08What is cron mode?

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 5

This 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.

09Can I get machine-readable output for scripting?

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 --json

A 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 --json

Fields are only added over time, never removed or renamed. Safe to depend on any field you see today.

10Can a coding agent stop my box when it's done?

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 mybox

Use key list and key remove <fingerprint-prefix> to revoke the agent’s key when it is no longer needed.

11Can I use VS Code, Zed, or other IDEs?

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.

12How do I use SSH port forwarding?

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.dev

Then 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.dev

That makes your local port 3000 reachable from the box at localhost:3000.

SOCKS proxy — route traffic through the box:

$ ssh -D 1080 mybox@shellbox.dev

Configure 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.dev

You can also make forwards persistent in ~/.ssh/config:

Host mybox
    HostName shellbox.dev
    User mybox
    LocalForward 8080 localhost:80
13How do HTTPS endpoints work?

Each 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.0
14Can I use my own domain name?

Yes. 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.com

This 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.dev

Then verify:

$ ssh shellbox.dev domain verify mybox app.example.com

Once 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:

  • One box can have multiple custom domains
  • One domain maps to exactly one box
  • Domains survive box rename — they point to the VM, not the box name
  • Only verified (active) domains route traffic
  • v1 supports exact hostnames only, not wildcards
  • Subdomains work well with CNAME; apex domains may also work via A/AAAA/ALIAS/ANAME, depending on your DNS provider
  • DNS must be DNS-only — CDN-proxied records may fail verification because they resolve to CDN IPs, not the Shellbox ingress
  • Ownership is checked when you run domain verify; v1 does not continuously revalidate DNS ownership after activation
  • After activation or removal, changes propagate after the short proxy cache expires (within a few seconds)

Manage domains with: domain add, domain verify, domain remove, domain list. Add --json for machine-readable output.

15Do boxes have public IPv6?

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_ipv6

An 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.

16Can I use mosh?

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.

17Can I SSH in as a non-root user?

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.

18How do email endpoints work?

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.

19How do I transfer files?

Standard SCP and SFTP:

$ scp file.txt dev1@shellbox.dev:/root/
$ scp dev1@shellbox.dev:/root/file.txt ./
$ sftp dev1@shellbox.dev
20Which Docker or OCI images are supported?

When OCI image preparation is enabled, use an image with these properties:

  • public images
  • linux/amd64
  • Ubuntu-like userspaces (Ubuntu, Debian, and derivatives)
  • images with apt-get available so Shellbox can install SSH and guest runtime packages

A 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.

21Does Shellbox run Docker containers or preserve CMD/ENTRYPOINT?

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.dev
22How do I connect to GitHub from my box?

For a repository you access with an SSH key on your workstation, forward your SSH agent for this session:

$ ssh -A mybox@shellbox.dev

Inside 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.

23What are the resource limits?

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.

24What are box 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.

25How do I rename a box?
$ ssh shellbox.dev rename mybox newname

This 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.

26Is my data backed up?

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.

27Where are the servers located?

Our privacy notice lists Hetzner in Finland (EU) as the hosting location.

28Can I access my box from multiple devices?

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.

29Does Docker work inside a box?

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-world

You 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.

30Is nested virtualization supported?

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/kvm

The second command checks the guest for the KVM device. A zero exit status means the device is present.

31What happens if I shut down the box from inside?

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 mybox

A stop preserves an existing wakeup or cron configuration. Disable that mode as well if the box should stay stopped.

shellbox SSH API

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.

# JSON commands

Run ssh shellbox.dev help --json for all response schemas, or ssh shellbox.dev help billing --json for billing alone.

ssh shellbox.dev help [command] --json
JSON formats for management commands
Response
commands: object error: object
ssh shellbox.dev home --json
Your boxes and their SSH login commands
Response
boxes: array of: name: string state: stopped | starting | running | stopping | deleting connect: string
ssh shellbox.dev about --json
About Shellbox
Response
name: string website: string support: string
ssh shellbox.dev list --json
List your boxes
Response
boxes: array of: name: string id: string size: integer source: stock | oci backend: fc | ch state: stopped | starting | running | stopping | deleting mode: stop | keepalive | wakeup | cron idle_timeout_min: integer | null (wakeup only) cron_interval_min: integer | null (cron only) cron_runtime_min: integer | null (cron only) url: string | null email: string | null public_ipv6: string | null domain_count: integer
ssh shellbox.dev show <name> --json
Show detailed box metadata
Response
name: string | null id: string state: stopped | starting | running | stopping | deleting size: integer backend: fc | ch backend_label: Firecracker | Cloud Hypervisor source: stock | oci url: string | null email: string | null mode: stop | keepalive | wakeup | cron idle_timeout_min: integer | null (wakeup only) cron_interval_min: integer | null (cron only) cron_runtime_min: integer | null (cron only) image_ref: string | null image_digest: string | null prepared_image_id: string | null public_ipv6: string | null domains: array of: domain: string status: pending | active verified_at: string | null last_error: string | null
ssh shellbox.dev billing --json
Account balance and usage
Response
balance: number funds_added: number funds_refunded: number usage_cost: number hourly_rate: number remaining_hours: number | null pending_refunds: array of: amount: number status: string created_at: string boxes: array of: name: string size: integer state: string hourly_rate: number
ssh shellbox.dev payments --json
Payment history
Response
pending: array of: amount: number created_at: string recent: array of: amount: number timestamp: string
ssh shellbox.dev key list --json
List SSH keys (also the default for key)
Response
keys: array of: fingerprint: string type: string comment: string current: boolean
ssh shellbox.dev key add "<public-key>" --json
Add an SSH key
Response
fingerprint: string type: string comment: string action: added | already_added
ssh shellbox.dev key remove <fingerprint-prefix> --json
Remove an SSH key
Response
fingerprint: string action: removed
ssh shellbox.dev create <name> [xN] [--ch] --json
Create a new stock Cloud Hypervisor box
Response
name: string id: string size: integer backend: ch url: string email: string connect: string public_ipv6: string | null
ssh shellbox.dev create-from-oci <name> <image-ref> [xN] [--ch] --json
Create a Cloud Hypervisor box from a prepared OCI image
Response
name: string id: string size: integer backend: ch image_ref: string image_digest: string url: string email: string connect: string public_ipv6: string | null
ssh shellbox.dev duplicate <source> <name> --json
Copy a Cloud Hypervisor box's disk after it stops; the copy starts with fresh RAM
Response
name: string source: string size: integer url: string connect: string public_ipv6: string | null
ssh shellbox.dev rename <name> <new-name> --json
Rename a box
Response
old_name: string new_name: string url: string email: string public_ipv6: string | null
ssh shellbox.dev stop <name> --json
Request a stop. On new boxes, stopped acknowledges the request before the VM exits.
Response
name: string status: stopped | stopping | already_stopped | already_stopping mode_preserved: wakeup | cron | null
ssh shellbox.dev delete <name> --json
Delete a box
Response
name: string status: deleted
ssh shellbox.dev keepalive <name> --json
Toggle keepalive
Response
name: string keepalive: boolean box_stopped: boolean box_started: boolean
ssh shellbox.dev wakeup <name> [idle_minutes] --json
Toggle wakeup
Response
name: string wakeup: boolean idle_timeout_min: integer | null box_stopped: boolean
ssh shellbox.dev cron <name> [<interval_min> [runtime_min]] --json
Toggle cron
Response
name: string cron: boolean interval_min: integer | null runtime_min: integer | null box_stopped: boolean
ssh shellbox.dev funds <amount> --json
Add funds (returns checkout URL)
Response
amount: number checkout_url: string
ssh shellbox.dev refund <amount> --json
Refund funds
Response
amount: number status: pending
ssh shellbox.dev promocode <code> --json
Redeem a promo code
Response
code: string added: number balance: number
ssh shellbox.dev image prepare <image-ref> --json
Prepare an OCI image
Response
display_ref: string digest: string status: string state: string rootfs_path: string | null error: string | null
ssh shellbox.dev image status <image-ref> --json
Check OCI image preparation status
Response
display_ref: string canonical_ref: string status: string | null digest: string architecture: string guest_layer_version: string rootfs_path: string | null error: string | null
ssh shellbox.dev domain add <box> <hostname> --json
Attach a custom domain to a box
Response
domain: string box: string status: pending action: added cname_target: string
ssh shellbox.dev domain verify <box> <hostname> --json
Verify DNS and activate a custom domain
Response
domain: string box: string status: pending | active action: verified | verification_failed | already_active error: string | null
ssh shellbox.dev domain remove <box> <hostname> --json
Remove a custom domain from a box
Response
domain: string box: string action: removed
ssh shellbox.dev domain list <box> --json
List custom domains for a box
Response
box: string canonical_url: string | null domains: array of: domain: string status: pending | active verified_at: string | null last_error: string | null created_at: string | null

# Errors and exit status

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.

# SSH sessions

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.

ssh <name>@shellbox.dev
Open an interactive SSH session; starts/resumes the box.
scp file.txt <name>@shellbox.dev:/root/
Standard SCP file upload/download via the SSH bastion.
sftp <name>@shellbox.dev
Standard SFTP subsystem for IDEs and file transfer.
ssh <name>@shellbox.dev <command>
Run a non-interactive command inside a box.
ssh -L 8080:localhost:80 <name>@shellbox.dev
Local/remote/SOCKS forwarding through a box.

# Stability guarantee

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.

01December 2, 2026 — Fast resume, with a VM inside your VM

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.

One hypervisor for new boxes

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.

Make the shell wait for the pages it needs, not all of RAM

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.

Can you reconnect halfway through the 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.

  • Reconnecting after 2 GiB had copied: 208 ms to cancel and run a new SSH command.
  • Final pause: 109 and 146 ms. Time to finish the durable checkpoint: 4.60 and 8.17 seconds.
  • From a new CH process to the first authenticated SSH command after restore: 383 and 450 ms.

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.

What survives a bad checkpoint?

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.

02April 8, 2026 — New Features for April 8th, 2026

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.

Cloud Hypervisor via --ch

At 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.

No migration, no surprise backend switch

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 automations

shellbox 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.

Backward compatibility guarantee

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.

Full schema reference

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

Try it

# 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.

03March 27, 2026 — Introducing the shellbox SSH API

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.

What it looks like

# 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"}

Management commands

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.

Why SSH as an API transport?

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.

Stability guarantee

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
→ Full SSH API Reference

Command reference and response schemas for JSON-enabled commands.

04March 10, 2026 — New Features for March 10th, 2026

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.

Stock Image: Ubuntu 24.04 LTS

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.

Docker Works Out of the Box

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.

OCI Image-Backed Boxes

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...

What's Supported

Current OCI support focuses on:

  • Public images (no private registries yet)
  • linux/amd64 architecture
  • Ubuntu-like images with apt-get available (Ubuntu, Debian, and derivatives)

Good starting points:

  • docker.io/library/ubuntu:24.04
  • docker.io/library/debian:bookworm-slim
  • docker.io/library/node:22-bookworm
  • docker.io/library/python:3.13-bookworm
  • docker.io/library/rust:bookworm
  • docker.io/library/golang:1.23-bookworm

What It's Not

OCI-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.

SSH Rate Limit Raised to 200/min

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.

Try It

# 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.

05January 2026 — Racing to the Bottom, Done Right

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.

What is Shellbox?

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.

The Problem with Always-On Pricing

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?

How We Make It Work

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.

The Math

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.

What About Abuse?

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.

The Competition

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.

How It Works (Technical Details)

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.

The Honest Take

Shellbox isn't for everyone:

  • Running 24/7? Use Hetzner. We'll cost you 3x more.
  • The example here is a 4 GiB box. See current sizes for larger boxes.
  • Running production? We don't guarantee uptime.

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