Skip to content
Projects

About

SSH remote workspaces for DeepSeek Harness: parallel projects across hosts, remote file browsing and editing, recursive search, terminals, Git diffs, and workspace-bound Agent tools to edit, build and test remotely. Optional IDE layout.

Developer Tools

How these counts are measured

Measured star growth

in 24h
+7
in 7 days
+29
in 15 days
+67
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.en.md

Original

English · 中文

dsh-remote

npm version downloads downloads license dsh-plugin

Maintained by @flymysql · Homepage · Usage stats · Blog · Discussions · Issues · 中文说明

dsh-remote — remote projects, complete context

Turn SSH hosts into everyday development workspaces in DeepSeek Harness: manage projects across hosts, browse and edit remote files, search names and contents, use terminals, inspect Git diffs and open local/reverse port tunnels. Agents read and write files, run commands, build and test in their assigned remote workspace. Multiple workspaces can run independently in parallel.

Use the normal layout or choose the optional three-column IDE layout to view remote files, the editor and the native Agent conversation side by side. Switching layouts retains tasks and unsaved edits.

DSH remote IDE with file tree, native code editor and agent conversation

1.6.5 release notes: shared memory hub, ProxyCommand multi-target fix, HOME skills, checkout graph, persistent PowerShell and CI reliability.

Install

dsh plugin --profile web add dsh-remote

After installation or an upgrade, restart DSH Web and refresh the page. Check automatic-update status under Settings → Remote workspaces → Preferences.

Start in 3 steps

  1. Configure a host: open Settings → Remote workspaces to edit SSH configuration or save credentials. Hosts already in ~/.ssh/config are listed there — open the row's … menu and choose Edit to save it as a machine and fill in its login password (the entry is the same … menu before and after saving). Connectivity checks run automatically; no manual connection step is required.
  2. Create a workspace: Add workspace → Remote, then choose a host and folder. Each workspace binds its own host; settings have no folder selection or global active host.
  3. Develop remotely: open workspace files or enter IDE mode to edit with syntax highlighting, search, run commands and collaborate with the agent. Files open ready to edit.
Remote folder picker with fixed path and confirmation controls and a large directory list

Local workspaces too

Open a normal local project and choose IDE mode or Workspace files to use the same file tree, highlighted editor, recursive search, Git diffs and local terminal. No SSH setup is required. Agents keep using the host’s native file and command tools; local and remote projects can run in parallel.

Local workspace with file search, highlighted editing and a native Agent conversation after an actual local build

Everyday development

Search remote names and contents

Find files, directories or content recursively without expanding folders or syncing a mirror first. The default view keeps scope and progress compact; expand search options or scan details when needed. Case sensitivity, ignored directories, stop and retry remain available. Results reveal a directory or open the matching file line.

Compact remote recursive search results with a nested directory and file

Inspect remote Git changes

Switch between working-tree and staged diffs, filter files and jump from a changed line to source. The panel is read-only; it does not commit or change the index.

Remote Git working-tree and staged changes with file list and source diff

Run a remote terminal

The terminal starts in the session's remote directory. A pixel fish welcomes you before the real SSH shell; saved credentials can answer authentication automatically, and multiple terminals can run together.

Native remote terminal with pixel fish and actual SSH command output

Shared memories across sessions

Persist what this task taught you (build commands, machine quirks, dead ends) with rw_memory_write into the local memory hub; the next session recalls it automatically. Project memories are shared across machines (open the same project on another host and they are there), and writes pass a credential red line first. See the detailed reference for the full memory section.

Port forwarding (SSH tunnels)

Open the listener on the side that initiates the connection: a listener here is a local forward (ssh -L); one on the remote is a reverse forward (ssh -R). Run several at once. Each forward names its host, so you can define a tunnel for a machine that is not connected yet and start it once that machine is. Every forward can be edited in place — direction, ports, target or owning host; a running one is stopped first and restarted with the new settings. Tick auto reconnect per row to restore only the forwards that were running, scoped to their machine — enabling it for a reverse forward first warns that the remote will listen again.

Upgrading from an older version: auto-reconnect entries that predate lastActive are paused and marked "Re-confirm" in the row; tick them again to opt back in (reverse forwards also need the remote-listening warning acknowledged).

Port forwarding panel with local/reverse directions, per-row auto reconnect and the add form

Edit and build with the agent

Tool cards show applied changes, actual exit codes and build output, with compiler diagnostics linking to source. Saving detects remote conflicts, preserves CRLF and protects newer input typed during the save.

Applied remote agent edit with diff, file path and added/deleted line counts

Compatibility and limits

  • Primarily targets DSH Web 0.2.x; 0.2.2 needs Node.js ≥24.9. See the compatibility reference for older-host fallbacks, Desktop/TUI and agent-diff differences.
  • Files access the remote host directly; mirrors sync on demand. Drafts live in page memory and can be lost after a crash or forced exit.
  • No remote language server, extension host or debugger. The agent runs commands as your configured SSH user; configure trusted hosts only.

Documentation and community

Full tool and configuration reference · Troubleshooting · Self-update recovery · Upgrade guide · Changelog

Homepage · Discussions · Report an issue · Contributing · Contributors and credits

Maintained by @flymysql and the community · MIT

Contributors and credits

Thanks to everyone who makes this project better (avatars link to profiles; bots excluded):

@flymysql @baiseraku @glzhangzhi @hjwsm1989 @j10ha0 @FoolishWiser @kakaa-nju @4FMTWRV @dahaipeng @davidlin2k @FlintyLemming @GDWhisper @YiHui-Liu @Minggle @nekomona @shis23

Contribution highlights and earlier contributors

Recent highlight contributions (there is always room on this list):

Contributor What they did
@baiseraku the whole dsh-tui adaptation layer (#92) + the status-bar fix (#98)
@hjwsm1989 both remote-.md renderer fixes: the memo guard (#102) and the labels contract (#107)
@shis23 rw_sync path-mapping fix + SFTP timeout resilience (#105)
@davidlin2k dialing credential-less machines through the user's own ssh (#100)
@GDWhisper the per-keystroke completion reconnect fix (#42, issue #41)
@glzhangzhi the per-session SSH pool isolation behind issue #25

The older hand-kept roll of merged PRs (with their numbers):

@dahaipeng (#31) · @YiHui-Liu (#28) · @nekomona (#24) · @zhz1667 (#43) · FoolishWiser (#17) · @jace1cch (#16) · @Minggle (#10) · 4FMTWRV (#6) · glzhangzhi (per-session SSH pool fix)

The wall updates with releases; a well-written issue report, a repro, or a root-cause lead is worth as much as a patch — about half of this repo's fixes started as a clear issue.

Explore related projects

Loading…