dsh-remote-ssh-connect
v1.2.1
Published
Connect to remote Linux hosts over SSH, provision matching DSH versions in ~/.dsh-remote-ssh-connect, sync local plugins and remote workspaces for direct local control, and forward ports for browser access.
Readme
dsh-remote-ssh-connect
Connect DeepSeek Harness (DSH) to remote Linux hosts over SSH. Manage remote connections from the sidebar, automatically provision matching Node.js and DSH versions on remote machines, synchronize local plugins, and work with remote workspaces and sessions directly from your local DSH interface.
Features
- SSH Host Discovery: Automatically reads concrete host entries from
~/.ssh/config(includingIncludefiles) while excluding wildcard patterns. - Zero-Setup Remote Provisioning: Installs a matching DSH version and compatible Node.js runtime under
~/.dsh-remote-ssh-connecton the remote Linux host when needed, and retains up to three versions automatically. - Interactive Authentication: Supports SSH keys/agents as well as interactive password, OTP / 2FA, and key passphrase prompts directly in the UI.
- Port Forwarding & Custom Profiles: Forwards a local port (auto-assigned or fixed) to the remote DSH port and launches the configured remote profile (defaulting to
web). - Plugin Synchronization: Syncs user-installed local plugins (npm, GitHub, or local directory/tarball sources) to connected remote hosts over the active SSH connection, and pulls remote plugins into the local profile. Replacing an installed copy whose version differs always asks for confirmation first.
- Remote Workspaces & Sessions: Synchronizes remote workspaces into your local Workspaces list so you can browse, create, and control remote sessions, use the remote host's configured models, and reorder local and remote workspaces freely.
- Port Conflict Recovery: Detects when the target remote port is occupied and lets you terminate the conflicting process or switch ports from the UI.
Usage
- Add your remote Linux hosts to
~/.ssh/config. - Open the SSH connect panel from the left sidebar in DSH.
- Optional: click Settings on a host card to customize the remote port (default
3080), local forwarded port (0for automatic allocation), or remote profile name (defaultweb). - Click Connect and complete any interactive authentication prompt if requested.
- Once connected:
- Use Sync local plugin to install local plugins onto the remote profile.
- In Local & remote plugin differences, click a plugin to sync it in the needed direction: local-only plugins go to the remote, remote-only plugins come to the local profile, and plugins installed on both sides with different versions offer Local → remote and Remote → local after a confirmation dialog.
- Use Remote workspace -> Sync to local to add a remote workspace to your sidebar Workspaces list.
- Click the mapped local URL if you want to open the remote host's standalone DSH Web interface in a browser.
