dsh-remote: Connect Local DeepSeek Harness to Anywhere

When running DeepSeek Harness locally, viewing or debugging on a mobile phone usually requires file synchronization or screenshots. dsh-remote solves this problem by exposing the local DSH to the network via a relay (SSH or Cloudflare). The mobile device accesses the same runtime rather than a copy.

What Is This

A DSH plugin maintained by Guuu16 that connects the local DSH to the network via an SSH reverse tunnel or Cloudflare tunnel. When accessed from a mobile browser, it uses the same workspace and chat history, utilizing DSH’s own Web GUI without any additional UI layer.

Core Features

  • Dual-mode remote access: Supports both SSH reverse tunnel and Cloudflare tunnel methods.
  • Single runtime: The mobile device accesses the same workspace and chat history, not a second copy.
  • Native GUI: Directly uses DSH’s own Web GUI with no extra encapsulation layer.
  • Sidebar completion: The settings page provides a “Sidebar missing items” completion feature, using the sessionQuery and workspaceRegistry APIs to calculate the difference set.
  • Zero-config Cloudflare: No server or account required; automatically downloads cloudflared to ~/.dsh-remote/bin/.
  • Mobile experience: Access via QR code scan on the phone; supports adding to the home screen for full-screen use.
  • Local keyless: Supports loopback local access without a password.

Installation and Activation

Installing the plugin requires Node.js >= 22.15.

dsh plugin --profile desktop add github:Guuu16/dsh-remote

Restart DSH after installation is complete.

Typical Usage

  1. Open the “Remote Access” page in DSH settings.
  2. Select the access method and configure it:
    • Cloudflare Tunnel: Select this mode and save; the plugin will automatically establish the connection.
    • SSH Reverse Tunnel: Fill in the server address, username, and password; the plugin will automatically deploy the public key and establish the tunnel after saving.
  3. Scan the QR code displayed on the settings page with your mobile phone to access.

Configuration Details and Notes

  • Cloudflare Mode: Traffic passes through Cloudflare’s edge; the domain changes on every reconnection, and the initial GUI load may be slower.
  • SSH Mode: Requires the server to enable GatewayPorts clientspecified in sshd_config, and the cloud platform security group must allow the corresponding port.
  • Loopback Access: No key required; local processes can access directly.
  • Connection Maintenance: The SSH tunnel will automatically redial after a disconnection.
  • Security: The access key is the only gate; changing the key will invalidate all paired devices.

Ecosystem Background

The philosophy of DeepSeek Harness is “Everything is a plugin.” This plugin is maintained by a community developer and aims to make the local agent environment more accessible.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye