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

How Neil Kakkar Uses Claude Code for Development Workflow Automation
Neil Kakkar describes automating pull request creation with a /git-pr skill, switching to SWC for sub-second server restarts, and using Claude Code's preview feature to verify UI changes automatically.

Freight Driver Builds iOS App with Claude Code, Shares Practical Lessons
A freight driver in Japan with minimal coding experience used Claude Code to build an iOS app for new recordkeeping regulations, shipping it to the App Store in six months. He shares specific lessons about prompt engineering, unexpected costs with Expo and Supabase, and managing burnout.

Building a deterministic job-intel pipeline with OpenClaw assist
A developer built findmejobs, a Python pipeline for job hunting operations that uses OpenClaw only for profile bootstrap and sanitized review/drafting, with deterministic ranking and rerunnable stages.

OpenClaw agent automates SEO for HVAC website with GitHub integration
An HVAC company used an OpenClaw sub-agent with SEO skills connected to Ahrefs to automate weekly SEO reports and website updates, achieving 17x growth in search impressions over 11 weeks.