ManualRemote
Remote overview
Compare the routes to a devserver: a browser, a direct address, ssh, Eternal Terminal, Lima or WSL, and a gateway.
Local machineChan Desktop, or a browserShows the devserver's windows.
ssh -LEternal TerminalLAN, VM or container portLima or WSL
Remote machinechan devserverHolds the terminals, windows and workspaces.
↓ signs in with OAuth2dials out ↓
Optional, hosted by someoneA self-hosted gatewaySign-in, sharing, and an address that is always on.
What you can do
- Keep terminals, agents and workspaces running on another machine while your laptop sleeps or moves.
- Open them as native windows from Chan Desktop, or as tabs in any browser.
- Reach the machine over ssh, Eternal Terminal, a LAN address, or a Lima or WSL VM on your own computer.
- Forward ports, move files and share the clipboard between the two machines.
- Publish devservers through a gateway, and share them with other accounts.
Which route
A remote chan is always a devserver. The route is how the local machine reaches it; each route's name links to its setup.
| Route | On the remote machine | On the local machine | What you get |
|---|---|---|---|
| A browser alone | chan, running a devserver | A browser, and ssh to forward the port | Windows as browser tabs; a hidden window keeps its terminals running. No native windows, no cs tunnel. |
| A direct address: LAN, a VM or container port | A devserver bound to an address the local machine reaches | Chan Desktop | Native windows and cs tunnel, no connect script. Plain HTTP with a token: loopback or a network you trust. |
| ssh | chan and sshd | Chan Desktop and ssh | Native windows and cs tunnel, encrypted. The tunnel drops with the network; the devserver keeps running until you reconnect. |
| Eternal Terminal | chan and Eternal Terminal | Chan Desktop and Eternal Terminal | As ssh, and the tunnel reconnects after sleep or a change of network. |
| Lima or WSL | chan inside the VM | Chan Desktop, with Lima on macOS or WSL on Windows | A Linux devserver on your own computer. |
| A gateway | A devserver started with a gateway token | Chan Desktop or a browser, and an account on the gateway | OAuth2 sign-in, access from anywhere, and sharing a devserver with other accounts. Someone hosts the gateway. |
No chan on the remote machine? tmux -CC over ssh opens a tmux server's windows as Chan windows: see tmux control mode.
What you need
- There: chan, running a devserver. It listens on
127.0.0.1:8787until you bind it elsewhere. See Run a devserver. - Here: Chan Desktop for native windows, or any browser.
- Between them: one route from the table.
"There" can be the local machine too: a Lima or WSL VM, a container, or a second devserver with a chan home of its own.
Whatever the route, the devserver holds the terminals, windows and workspaces. Disconnecting closes the windows here and leaves everything running there. Several clients can use one devserver at once: see Collaboration.