Running Claude Code Remote Control on a Cloud Server via RAgent

✍️ OpenClawRadar📅 Published: February 25, 2026🔗 Source
Running Claude Code Remote Control on a Cloud Server via RAgent
Ad

A developer has shared a method for running Claude Code's Remote Control feature from a cloud server instead of a local laptop, addressing the common problem where laptop sleep terminates the session.

How It Works

The approach uses RAgent, an open-source project that runs Claude Code in a Docker container. The developer deployed RAgent to Railway, which offers one-click deployment for Docker projects. After deployment, they accessed the web terminal on Railway to run two commands: claude login followed by claude remote-control. This generated a QR code that could be scanned from the Claude mobile app to establish the remote control session.

Ad

Key Benefits

  • The session runs on the server, so it remains active regardless of whether the local laptop is on, off, or asleep.
  • Access is through the Claude mobile app, which provides a better user experience than using a terminal in a phone browser.
  • The setup effectively turns a $5/month VPS into an always-on Claude Code machine that can be controlled from anywhere.

Note that the Remote Control feature requires a Claude Pro or Max subscription plan.

The RAgent repository is available at https://github.com/Chris-bzst/ragent for those who want to try this setup.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also