In one sentence: VSCode Remote moves a full VS Code to the server; DSH Remote moves nothing but the workbench — it opens the remote DSH page, forwards ports, and manages the DSH runtime. They are not substitutes. Which one you want depends on whether you are mainly working with code, or with a DSH that is already running an agent.

The difference in one table

VSCode Remote DSH Remote
Runs on the server VS Code Server (extension host, file watchers, terminal) DSH (DeepSeek Harness, an agent-driven coding environment)
Runs locally VS Code itself — the UI and the editing A client that opens the remote page in a window
What you see A complete editor window The remote DSH page plus forwarded dev-server tabs

VSCode Remote is remote editing: everything an editor needs moves to the server, and the local side only draws and types.

DSH Remote is remote working: the editor stays where it was. What moves is the DSH page already doing the work, plus the things your laptop could not reach — ports, the runtime, several machines.

To be blunt up front: DSH Remote is not an IDE, and it is not trying to become one. That sentence comes back below.

Side by side

Aspect VSCode Remote DSH Remote
What it is VS Code Server remotely, VS Code locally No IDE server; the remote DSH Web UI opened as a page
Code editing Full IDE: edit, completion, refactor, debugger, extensions Not an editor itself; code changes happen in the DSH page (via the agent), or with the plugin's file tree, CodeMirror editor and bottom terminal
Port forwarding Auto-forwards ports from processes started in the integrated terminal Same rule (ownership × liveness), terminal-started services included; manual and static rules
Devices Official desktop client first; no complete official Remote-SSH experience on phones or tablets Windows / macOS / Linux / Android / iOS; mobile needs a membership
Price Free (VS Code itself) Desktop is free and needs no account; mobile needs a membership
Best for People who want a full IDE on the server, with extensions and a debugger People working through DSH and agents who want to connect, run, see and iterate

Port forwarding: the one borrowed idea

DSH Remote's automatic forwarding follows the same instinct as VSCode Remote: forward ports that belong to the processes I started, not every port that appears on the server. Otherwise you would drag a colleague's database onto your laptop.

Three things worth knowing:

  • The rule is ownership × liveness: the process descends from the DSH host process and the port is actually listening right now. Both must hold.
  • Terminal-started services count too: type pnpm run dev in a DSH terminal and the process that listens is still a DSH descendant.
  • Same port first: a remote 3000 is mapped to local 3000 where possible, so localhost:3000, bookmarks and OAuth callbacks keep working and the page origin does not change.

The difference is what it hangs off: the IDE session for VSCode, the SSH connection for DSH Remote, with an embedded multi-tab browser as the destination.

For the mechanics, limits and troubleshooting, see port forwarding.

Code editing: DSH Remote is not an IDE

Plainly:

  • It has no completion, debugger, extension marketplace or language services.
  • There is no "open the project" step; the code is already there.
  • It does not upload, download or relay your code. The code never leaves the server.

Then where do you edit? Two paths:

  1. In the DSH page, hand it to the agent — that is how DSH works;
  2. Install the dsh-devtools plugin, and the DSH page gains a file tree, a CodeMirror editor, a real bottom terminal and a Git panel.

That is still not an IDE editing experience — no completion, no breakpoints, no extension ecosystem. The product is about bringing the workbench to you, not bringing an editor to the server.

If what you want is a full IDE, use VSCode Remote. That is what it is good at, and there is no reason to force the other tool.

Where each one wins

VSCode Remote is stronger at:

  • editing: completion, refactoring, multi-cursor, language services;
  • debugging: breakpoints, variables, call stacks;
  • extensions: almost every language and tool has a plugin;
  • team habits: many workflows already live inside VS Code.

DSH Remote is stronger at:

  • opening straight into DSH — no editor first, no separate browser;
  • automatic port forwarding with embedded tabs, one click after a dev server starts;
  • managing the DSH runtime: install Node and DSH remotely, start, stop, change versions, read logs;
  • multi-environment switching: one config per environment, one click;
  • doing the same from a phone or tablet.

Each has something the other does not — not a replacement story.

Which one should you pick?

Pick VSCode Remote if you:

  • write code most of the day and need completion, refactoring and a debugger;
  • depend on extensions — language plugins, linters, formatters, test explorers;
  • mostly work at a desktop;
  • work on a team whose tooling already lives in VS Code.

Pick DSH Remote if you:

  • work mainly through DSH and agents, away from the dev machine;
  • want to open the app and see what DSH is doing, not to configure an editor first;
  • need automatic port forwarding and embedded tabs for dev servers;
  • switch between several machines;
  • want to look, click and iterate from a phone or tablet.

You can absolutely use both. They do not depend on each other; a common setup is VSCode for editing and DSH Remote for watching the agent and the dev server.

Two other options: ssh -L and browser IDEs

Plain ssh -L is zero-dependency, works on any machine with ssh, and scripts well. The cost: you type rules and fixed ports, retype them after a drop, and solve HTTPS, 401 auth, Host headers and certificates yourself. DSH Remote turns that into a graphical rule list with discovery, reconnect, Host/Origin rewriting, an auth dialog, https passthrough and embedded tabs. More convenient, not more flexible.

Browser IDEs (code-server, Theia, cloud IDEs) need no install — any browser will do. But they need the service exposed to the internet: domain, reverse proxy, TLS, authentication, and a permanent attack surface. DSH Remote goes the other way, over outbound SSH: no public entry point, local listeners bound to 127.0.0.1, no inbound ports by default, and your project does not route through dshremote.cn servers. The cost is installing a client.

Platforms and price

  • Desktop (Windows, macOS, Linux): completely free, no account, no trial, no locked features.
  • Mobile (Android, iOS): a membership is required — $30 per year, or $90 for a lifetime v1.x licence. It unlocks the mobile app; that is all it does.
  • All five platforms share the same connection, forwarding and runtime management; desktop adds a local mode, mobile adds the membership gate.

Downloads are on the download page; details are on the pricing page.

What it deliberately does not do

  • It is not an IDE: no completion, debugger, extension marketplace or language services. Use VSCode Remote for those.
  • It does not upload, download or relay code: the code stays on the remote machine.
  • It is not a remote desktop: it moves pages, not a whole desktop.
  • It is not an SSH client: no built-in terminal or SFTP file manager.

FAQ

Can DSH Remote replace VSCode Remote?

No, and it is not meant to. It covers opening DSH, running a service, forwarding a port and checking it from a phone; editing and debugging belong in an IDE.

I only want port forwarding. Do I need VSCode?

No. Manual rules do not need any editor, and automatic forwarding needs the companion plugin inside DSH — not VSCode.

Can I use both at the same time?

Yes — they are independent clients.

Does VSCode Remote work on a phone?

VSCode Remote is desktop-client first; phones and tablets do not get a complete official Remote-SSH experience. DSH Remote has Android and iOS clients, with a membership required on mobile.