SI Agent News
DevelopingClaudePolicy

A $2.25 monthly server can keep Claude Code working after you close your laptop

A dev.to guide shows how to run Claude Code on a tiny rented server and check in over SSH, so long coding tasks don't stop when your laptop sleeps.

$2.25/monthprice of the server plan the author uses

The short version

Why it matters

Long AI coding jobs no longer need your own computer to stay awake. The guide shows that the hardware can cost very little, while the Claude account behind it is a separate matter. It also gives non-engineers a clear look at how hands-off coding help works in practice.

Why the laptop is the weak link

As dev.to reported, the problem this guide solves is simple: when Claude Code, Anthropic's AI coding assistant, runs on your laptop, a long task stops once you close the lid. The assistant is only as available as the machine it sits on.

The fix is to move it to a small computer that never sleeps. The author rents a basic server, leaves Claude Code running there, and connects from whatever device is handy using SSH, a standard way to log into a remote machine through a text window.

One detail makes the cheap price possible. The agent only reaches out to other services and never waits for visitors, so a bare-bones server plan (the post calls it a NAT VPS) is enough.

What the setup involves

The author uses a plan called Box Plus from natbox.io, at $2.25 a month for 2 GB of memory, 2 shared processor cores and a 20 GB SSD. The author discloses that he runs natbox, so read the recommendation with that in mind. He also says the manual steps work on any Debian or Ubuntu server, which are two common Linux systems.

There are two routes. The quick one is a one-click Claude Code app in the hosting dashboard, which installs it for you. The same plan also offers one-click versions of other agents named in the post: Codex CLI, OpenClaw and Hermes Agent.

The manual route means logging in over SSH, installing a few basic tools (git, tmux and curl), and running Anthropic's install script. The post advises checking Anthropic's own documentation for the current install command, because it changes from time to time.

Either way, Claude Code runs under your own Claude account, so you need one that includes it. The hosting fee does not cover that.

The trick that keeps it running

The key tool is tmux, a program that keeps a terminal session alive on the server even after you disconnect. You start a named session, go to your project folder and launch Claude Code inside it.

On first run, Claude Code prints a sign-in link. You can open it on any device, approve it, and you are in. Then you detach from the session with a key combination and leave the agent working.

Later you reconnect over SSH and reattach to the same session, finding things where the agent left them. The post also suggests an optional add-on, a password-protected version of the VS Code editor that runs in a browser. That lets you review the agent's changes from a tablet or a borrowed computer.

Limits and safety notes

The author lists some caveats. Every server gets a routed block of IPv6 addresses (a /80) that is not filtered, so you should switch on a firewall. His suggestion is to block all incoming traffic by default and then allow only your SSH port.

The servers are LXC containers, a lightweight way of splitting one machine into many. That means no Docker or nested containers, so any project that needs Docker to run its tests will not work here.

Use is meant for personal projects under natbox's acceptable use policy. If you exceed the monthly traffic allowance, speeds drop to 10 Mbit/s rather than the service being cut off.

One caution comes from us rather than the post. The $2.25 pays for the server only. Your Claude account is a separate cost, so check what your plan allows before leaving an agent running unattended. Keep passwords and keys out of the project files on the machine, and watch what the assistant is allowed to touch.

Who this is for

This is a developer's tip, not something most readers will need this week. It does show where AI coding help is heading: a worker that keeps going in the background while you do something else.

It also fits a theme from today's issue. Setups built from cheap, swappable parts are easier to move if prices or terms change at a vendor you depend on.

What to watch

Try it

Check whether your Claude account includes Claude Code, and read Anthropic's current install instructions. If you are comfortable with a terminal, practice tmux on your own computer before renting a server.

Sources and links

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Listen to the AI Wire headlines

Listen to the AI Wire

Listen to our daily AI shows every morning: on your commute, in the shower, wherever you are

Listen to the daily shows

First reported by dev.to · Read the original. Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

More AI news