You close your laptop before the tests finish and want to check on them from your phone. Run Claude Code on a virtual private server (VPS), a rented virtual machine, and the session can keep working when your laptop is off. The server runs the commands and holds the project files. Anthropic’s Remote Control lets you send a message to that same session from the Claude app and see what happens next.
Set up the server and sign in
Hostinger offers an Ubuntu 24.04 template with Claude Code already installed. After deploying it, open the web console from the VPS dashboard. Start Claude Code in the terminal, enter /login and complete the browser sign-in on claude.ai. The template takes care of installing the command-line tool. You still need to put your project on the server.
Remote Control requires a Claude subscription sign-in. Anthropic lists Pro, Max, Ultra, Team and Enterprise, with an organization owner required to enable the feature on Team and Enterprise. An API key, a credential for software to call a service, cannot establish a Remote Control session.

Bring the project and check its tools
Put a copy of the project on the VPS and open Claude Code from that directory. Bring the project’s CLAUDE.md instructions and any project skills or subagents stored under .claude. Skills provide reusable instructions for a task. Subagents give Claude a way to assign specific work to a specialist. User-level settings and skills live in your home directory, so review those separately on the VPS.
Check the tools that use the Model Context Protocol (MCP), which connects Claude Code to external tools and services. Project-wide connection definitions can travel in .mcp.json. Connections configured for your user or for a particular project path in your personal settings need separate attention. In the server terminal, use /mcp to check which tools are connected. Follow any prompts to review a project connection or sign back in to a service.
Connect your phone to the live session
In the interactive session on the VPS, enter /remote-control and accept the prompt the first time. On your phone, sign in to the Claude app with the same account. Open Code in the app and select the active session. A message you send there goes to the Claude Code process that you started in the project directory.
That process accesses files on the VPS. Anthropic says Remote Control uses encrypted outbound HTTPS requests and opens no inbound port of its own. While Remote Control is connected, Anthropic stores the session transcript, including messages and tool activity, to keep the devices in sync.
Keep the process running and test two things
The VPS must stay online and the Claude Code process must keep running. To keep the process alive when you disconnect from a remote terminal, start Claude Code inside tmux or screen. These tools let you leave a terminal session running on the server and return to it later. If the machine restarts or the process stops, the phone loses access until you bring the session back.
For a first check, I’d ask from the phone for the current working directory and the test command defined by the project. Compare the reply with what you expect on the VPS. Then try a small read-only request to a service the project depends on. A reply from the right directory checks the phone connection. A successful read checks that the service is ready to use there.
Ask AI about this article
Opens in a new tab with the question filled in.


