Running Claude Code Remote Control on a Cloud Server via RAgent

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.
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
👀 See Also

Deep Research Reports with Hermes Agent and Qwen3.6-35b-a3b: A Practical Walkthrough
A social researcher shares their workflow using Hermes Agent and qwen3.6-35b-a3b Q6_K to produce 21-page policy reports autonomously, with full repo of prompts, skills, and intermediate artifacts.

Developer Shares PDF Coordinate Tool for AI Integration
A developer created a small tool to find X,Y coordinates in PDFs for precise image placement, then had an AI agent integrate it into their larger HR system project to solve signature positioning issues.

Vibe Coding: How a Non-Developer Built a Calorie Tracking App with Claude in 3 Hours
A self-described non-developer built a personal iOS calorie tracker using Claude to generate markup files, a Claude API call for nutrition analysis, and no subscription fees.

Practical Limits of Multi-GPU AI Workstations: Lessons from a 9× RTX 3090 Build
A developer shares experience running 9 RTX 3090 GPUs for AI work, finding diminishing returns beyond 6 GPUs and recommending Proxmox for LLM experimentation. The RTX 3090 remains compelling at $750 for 24GB VRAM.