Preface¶
DeepSeek Harness (DSH) adopts a plugin-based architecture. In multi-machine collaboration scenarios, it is often necessary to handle workspaces or sessions on different machines separately. dsh-control aims to address this pain point: it does not require deploying additional filesystem tools on remote machines; instead, it connects remotely running dsh instances to the local frontend via SSH tunnels, enabling unified management.
What Is This¶
dsh-control is a client-side plugin maintained by 6mt. Its core purpose is to provide a local window that drives and manages dsh instances running on remote machines.
Unlike traditional remote workspace plugins (such as dsh-remote), dsh-control does not treat remote machines as a filesystem; instead, it views them as running dsh instances. It allows you to interact with remote sessions directly in the local sidebar. Remote responses are streamed token-by-token without any changes to remote configuration.
Core Features¶
- Local Frontend for Remote dsh Instances
Create panels in the local sidebar to directly access dsh instances already running on remote machines. - One-Click SSH Connection
Simply inputuser@hostto probe the remote dsh status, establish an encrypted channel, and connect. - Automatic Local Workspace Creation with Matching Names
Each remote environment automatically creates a local workspace with the same name. Created sessions are automatically associated with their remote counterparts. - Token-Level Streaming
Remote responses stream in token-by-token, providing an experience consistent with local sessions. - Paired Naming
Remote session names automatically receive a prefix (e.g.,Control·<local title>), ensuring correspondence between local and remote sessions. - Sidebar Visibility and Self-Healing
Remote sessions are marked as visible in the sidebar. Disconnected connections are reported accurately and support one-click repair.
Installation and Activation¶
The plugin is published via npm package name. The installation command is as follows:
dsh plugin --profile <your profile> add github:6mt/dsh-control
After installation, you must fully quit and reopen dsh for the plugin to load. The plugin maintains a local state file and on-demand SSH tunnels, without relying on any native modules.
Version Management¶
- Update: Use
dsh plugin --profile <your profile> update dsh-controlto pull the latest code. - Pin Version: Lock versions via tags or commit hashes.
dsh plugin --profile <your profile> add github:6mt/dsh-control#v0.1.0
Notes¶
- Remote Environment Requirements: The remote machine must have dsh installed and running (version >= 0.2.0-rc.2).
- Connection Method: Currently connects via SSH; passwordless login or SSH keys must be configured.
- Data Security: Passwords are never stored. The local side only maintains a
$DSH_HOME/dsh-control/state.jsonstate file (permissions 0600); it does not write to the remote filesystem, nor does it manage the lifecycle of the remote dsh instance. - Experimental Features: The remote turn cancellation feature has been implemented but is marked as experimental.
- Coexistence: Can coexist with
dsh-remote-type plugins.
Summary¶
dsh-control provides a zero-intrusion approach to managing dsh instances across multiple machines. It leverages existing remote model credentials and sandboxes, delivering a streaming interaction experience through local SSH tunnels.
For more information, see: DSH Plugin Catalog | GitHub Repository