dsh-zen-remote is an open-source, MIT-licensed plugin for DeepSeek Harness (DSH) that connects computers over an end-to-end encrypted mesh and opens active sessions to your phone, backed by an optional self-hostable relay gateway. Its goal is straightforward: let an AI coding session running on one machine continue safely and responsively on another computer or phone.
Once you spend enough time in DeepSeek Harness, switching devices quickly becomes a friction point. Suppose your desktop workstation is partway through a multi-file refactoring task when you need to step away from your desk. Later, you want to pick up the same task from a laptop, or approve a tool prompt and answer a model question from your phone while away. Starting a fresh session on another machine drops all existing context, and glancing at screenshots tells you what happened without letting you interact.
What we needed was not a way to stream an entire monitor across the internet, but a way for DeepSeek Harness sessions themselves to move across devices.
Why SSH, remote desktop, or plain VPNs fall short
Before building dsh-zen-remote, we tried stitching existing tools together: checking logs over SSH, clicking buttons through RDP or VNC, or linking machines on a virtual LAN with Tailscale or ZeroTier and opening the DSH web UI in a browser.
Each of those tools solves a different layer—command-line shells, screen pixels, or IP connectivity—without understanding how an AI coding session actually works:
| Comparison | dsh-zen-remote | SSH | Remote Desktop (RDP / VNC) | Overlay VPN (Tailscale, etc.) |
|---|---|---|---|---|
| Operating layer | DSH session layer (messages, approvals, diffs, files, terminal) | OS command line | Full desktop screen | IP network layer |
| Mobile experience | Dedicated portrait PWA with swipe-back navigation | Awkward command entry and wrapped logs on small screens | Constant pinch-zooming and dragging to tap small controls | Still needs HTTPS reverse proxy, auth gate, and mobile layout |
| Lock-screen alerts | Pushes only when user input is needed (approvals, questions, explicit alerts) | None—requires watching the terminal | None | None—unaware of session state |
| Cross-machine scope | Per-session toggle; unshared sessions stay invisible remotely | Full shell access to system directories and processes | Exposes the entire desktop once logged in | Exposes every session once the port is reachable |
| Multi-host view | Mounts workspaces and sessions from multiple hosts in one sidebar | Requires juggling separate terminal tabs or windows | Requires switching between remote desktop windows | Requires opening separate browser tabs per host |
The boundary between them is clear. SSH gives you a shell, remote desktop mirrors a monitor, and overlay VPNs route IP packets. dsh-zen-remote is built around the DeepSeek Harness session itself, covering approval prompts, tool call inspection, multi-device state sync, and notifications tuned to stay quiet until they matter.
Under the default notification policy, we intentionally keep notifications conservative. During ordinary turns—when the agent reads files, edits code, or runs tests—your phone should not buzz nonstop. There are really only two moments that need your attention: when a tool waits for permission and when the model pauses to ask you a question (plus an optional push_notify tool the model can call explicitly). Limiting lock-screen alerts to those decision points lets you step away from your desk without missing a blocked run.
One plugin, three roles: Balancing quick single-host access with multi-machine mesh
If someone only wants to check their home workstation from a phone, forcing them to set up a public IP, domain name, and standalone mesh server first adds unnecessary overhead.
To keep setup proportional to what you need, the local access service, desktop client, and peer-node capabilities all ship inside the single dsh-zen-remote npm plugin. You switch behavior with the role setting rather than managing separate tools. The plugin package does not include a standalone gateway-server; you can use the hosted gateway for relayed connectivity, or deploy the open-source gateway separately when self-hosting:
| Role | Config value | Best for | Key behavior |
|---|---|---|---|
| Peer | peer | Two-way access across desktops, laptops, and cloud servers | Joins a virtual network via a zr-net:// invite link and discovers peers automatically, while retaining local phone QR access and push alerts |
| Host (default) | host | Opening a single primary computer to your phone or specific clients | Runs a local gateway and mobile PWA with built-in Caddy, Cloudflare Tunnel, existing reverse proxy, or LAN direct mode |
| Client | client | Using a secondary machine solely to view and drive other hosts | Opens no listening port locally; mounts shared sessions from up to 8 hosts in order (configurable up to 64) |
Splitting the roles this way keeps every setup path direct:
- Checking one computer from your phone: A fresh install defaults to
host. Pick LAN direct, built-in Caddy, or Cloudflare Tunnel in the setup wizard, scan the QR code, and you are ready—no mesh server required. Under the default notification policy, lock-screen push alerts must be authorized from a trusted HTTPS page; LAN HTTP direct access can open sessions but cannot serve as the authorization entry point for mobile lock-screen push. - Picking up desktop or cloud sessions from a laptop: Switch those machines to
peerwith the samezr-net://link, and each sidebar automatically lists shared sessions grouped as "Device · Workspace". If you only want one-way access from a secondary laptop without hosting anything on it, set that laptop toclientinstead.


Cross-computer access follows an explicit per-session boundary. You might have a dozen active projects on your main machine, yet only sessions with "Remote Access" turned on appear on other computers. If a shared session sees no new turns for 48 hours (configurable; running, approval-waiting, or answer-waiting sessions stay awake), sharing turns itself off automatically so forgotten sessions do not linger exposed.
Direct-first, blind-relay fallback: Speed and privacy in the protocol
Once coding sessions cross networks, two concerns come up immediately: latency and whether a relay server can inspect your prompts or code. dsh-zen-remote addresses both directly in its transport and encryption design:
- Three-tier automatic path selection: Devices on the same local network communicate directly over LAN (with explicit checks to avoid mistaking CGNAT ranges for a physical LAN). Across different networks, peers coordinate through the gateway's dual UDP STUN ports to punch a direct P2P path. Under strict firewalls or symmetric NAT, traffic switches smoothly to the relay in about 1 second, while quiet background probes keep checking for a direct path and promote the link back without interrupting the session.
- Zero-knowledge blind relay: Before session data leaves a device, each peer connection seals payloads with ephemeral
X25519keys andAES-256-GCM, bound to long-termEd25519device identities. The relay gateway only reads a 28-byte routing header to forward encrypted shards; it holds no decryption keys and cannot reconstruct a single prompt or line of code. - Local public-key pinning (TOFU): On first handshake, each computer pins its peer's public key in a local
0600state file. Even if a relay gateway is compromised or a node ID is reset remotely, your machine blocks the connection on key mismatch until you inspect and explicitly trust the new identity locally. - Zero telemetry and open-source gateway: The plugin collects and reports no usage telemetry. Both the plugin and
gateway-serverlive in the same repository under the MIT license—you can use the hosted console or spin up your own gateway anywhere with a single Docker command.
Frequently Asked Questions
How is dsh-zen-remote different from Tailscale or ZeroTier? Tailscale and ZeroTier provide layer-3 IP connectivity. dsh-zen-remote operates at the DeepSeek Harness session layer, giving you multi-host sidebar aggregation, a touch-friendly mobile PWA, selective lock-screen push alerts, per-session sharing isolation, and third-party plugin bridging. They work well side by side: on a shared Tailscale network, dsh-zen-remote can use those internal addresses for single-host direct access or as p2p candidates while handling session isolation and push notifications on top.
Do I need a public IP address? No. Multi-machine peer networks prefer LAN and UDP hole punching and fall back to encrypted relay when direct paths fail. Single-machine host mode also includes Cloudflare Tunnel and LAN direct options, so everything works without a public IP.
When traffic goes through a relay gateway, can the gateway read my conversations or code? No. Session payloads are end-to-end encrypted with X25519 + AES-256-GCM before leaving the device. The gateway sees only a 28-byte routing header (source node, target node, and sequence number) and has no key to decrypt the content. If your environment requires full infrastructure control, you can self-host gateway-server via Docker.
Does installing it alter the desktop DSH interface? Not on desktop screens. Mobile layout adjustments apply strictly below desktop breakpoints; on desktop viewports (>= 1024px), your local workspace keeps the regular desktop layout.



