Remote Access & SSH Hosts
Continue working from your phone, tablet, or laptop via QR pairing and Web Push, or run projects directly on remote Linux servers over SSH.
LightCode supports two complementary remote workflows: controlling your main computer from mobile devices (Connect device), and running projects hosted on remote Linux servers (Hosts (SSH)).
Remote access from phone, tablet, or laptop#
One central computer runs your agents and holds your project files. Your phone, tablet, or secondary laptop simply acts as a secure, live window into that workspace.
Pairing a device in seconds#
- Click Connect device (the phone icon at the top of the left sidebar).
- Choose how the device should connect:
- Local network (Same Wi-Fi / LAN, Tailscale, or ZeroTier): Fast direct connection on your network.
- Internet link: Turns on an encrypted HTTPS tunnel (
*.lightcode.liveor Cloudflare quick tunnel) so you can connect from anywhere—even installable as a mobile web app. - Custom public address: Optional domain or reverse proxy URL you manage yourself.
- Scan the QR code with your phone or tablet camera (or open the one-time pairing link).
- Approve on the main computer: Every new device waits in Pending until you explicitly trust it on your host machine. You can inspect connected devices and revoke access anytime.
Install on your phone's Home Screen: Opening LightCode via an HTTPS Internet link lets you add it to your iPhone, iPad, or Android Home Screen as a full-screen web app—giving you native-like navigation and reliable mobile notifications.
Mobile push notification levels#
Tap the bell icon in the mobile header to choose how LightCode alerts you on that device:
- Important only: Alerts you when an agent needs your input/approval or encounters an error.
- All updates: Also notifies you whenever a turn finishes.
- Off: Mutes push notifications on that device.
Live Remote Browser Cast on mobile#
Sites that block embedding or run only on your host computer's localhost (or an SSH server) can still be viewed and controlled from your phone. LightCode streams live interactive frames from your desktop app or a headless browser on your host/SSH server, forwarding touch, scroll, and keyboard input while automatically adjusting image quality to match your connection speed.
Controlling remote access from the terminal#
Use the lightcode remote CLI on your host machine (installs automatically with LightCode):
lightcode remote on # start remote access and print a pairing link
lightcode remote on --tunnel # also open an encrypted internet link
lightcode remote status # list active URLs, trusted devices, and pending requests
lightcode remote pair # generate a new one-time pairing link
lightcode remote approve <id> # trust a pending device (or --all for all waiting)
lightcode remote deny <id> # reject a pending device request
lightcode remote revoke <id> # disconnect an already-trusted device
lightcode remote off # shut down remote access
Working on remote SSH servers (Hosts)#
Have projects living on a remote Linux workstation or cloud VPS?
- Open the top-left Environment switcher (beside This PC) and click Add SSH host.
- Enter your server details—or paste a quick command like
ssh [email protected] -p 2222or pick a host directly from your existing~/.ssh/config. - Authenticate using an SSH private key (upload or select a key file), SSH agent, or password, then test and save the connection.
- Install & check remote CLIs: Inside the Host dialog, check whether Claude Code, Codex, and Gemini CLI are installed on the remote server and install missing CLIs in one click.
Once connected, select that SSH host in the top-left Environment switcher to browse remote directories, clone repositories directly onto the server, and run LightCode agent sessions, terminals, and SSH-tunneled browser previews remotely while keeping all controls on your local screen.