Skip to content

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.
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.
Every route ends at the same devserver. Only the way the local machine reaches it changes.

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.

RouteOn the remote machineOn the local machineWhat you get
A browser alonechan, running a devserverA browser, and ssh to forward the portWindows as browser tabs; a hidden window keeps its terminals running. No native windows, no cs tunnel.
A direct address: LAN, a VM or container portA devserver bound to an address the local machine reachesChan DesktopNative windows and cs tunnel, no connect script. Plain HTTP with a token: loopback or a network you trust.
sshchan and sshdChan Desktop and sshNative windows and cs tunnel, encrypted. The tunnel drops with the network; the devserver keeps running until you reconnect.
Eternal Terminalchan and Eternal TerminalChan Desktop and Eternal TerminalAs ssh, and the tunnel reconnects after sleep or a change of network.
Lima or WSLchan inside the VMChan Desktop, with Lima on macOS or WSL on WindowsA Linux devserver on your own computer.
A gatewayA devserver started with a gateway tokenChan Desktop or a browser, and an account on the gatewayOAuth2 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:8787 until 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.

Next