FYL1025/dsh-remote-workspace

DeepSeek Harness (DSH) 远程工作区插件:通过 SSH 连接一台或多台服务器,直接在 DSH 的 Web 界面中浏览文件、编辑代码、执行命令——体验类似 VS Code Remote-SSH,无需离开对话。

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH), designed to enable browsing, editing, and command execution on remote SSH servers directly from the DSH web UI. It works just like VS Code's Remote-SSH extension, letting you work on remote files without ever leaving your DSH conversation. You install it via DSH's built-in CLI plugin command, which works with both SSH and HTTPS URLs for the repository. After installation, you just need to restart DSH to activate the plugin and access it from the Settings menu to start adding your remote server configurations.

To get started, you add your remote server either as an existing SSH alias from your local ~/.ssh/config, or by manually entering the host, port, and user details. After saving the configuration, you can connect with one click, then open the workspace panel to browse your remote file tree. You can expand directories, toggle hidden files, preview code with syntax highlighting and line numbers, edit files, and save changes directly back to the server. You can also run custom commands from the built-in command runner at the bottom of the panel, which automatically uses the working directory of your open file.

This plugin requires Node.js version 18 or higher, and relies on your local SSH installation to connect to remote servers. You must configure passwordless key-based login before using the plugin, as the plugin does not handle password authentication. Connection settings are stored only in your browser's local storage, and the plugin never stores your passwords or private keys, which keeps your credentials secure from unintended exposure. All connection activity runs with the same access you have when running SSH yourself in a local terminal. It supports editing text files up to 2MB, and is released under the permissive MIT open source license.

这是一个专为DeepSeek Harness(DSH)开发的原生插件,支持用户直接在DSH的网页界面中管理一台或多台SSH远程服务器。类似VS Code的Remote-SSH功能,用户无需离开DSH对话界面就能浏览远程文件、编辑代码、运行命令。它支持多服务器连接管理、配置持久化,可通过DSH内置的CLI命令完成安装。

安装完成后重启DSH,就可以在设置中找到「远程工作空间」选项,添加服务器配置后即可一键连接,打开工作空间面板就能开始操作。用户可以展开目录树浏览文件,点击文件即可预览带语法高亮的代码,也能编辑修改后保存回远程服务器,还支持在面板底部运行任意命令。适合需要让DSH Agent直接操作远程服务器代码和文件的开发人员使用。

该插件要求Node.js版本不低于18,依赖本地SSH客户端建立连接,要求用户提前配置好基于密钥的免密码登录,不会存储密码和私钥,仅将连接配置保存在浏览器本地存储中。它目前支持编辑不超过2MB的文本文件,采用MIT开源许可证,用户可以自由审核、分叉和扩展项目代码。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 3 stars - very few users, little community feedback星标只有 3,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add git+ssh://git@github.com/FYL1025/dsh-remote-workspace.git

把 FYL1025/dsh-remote-workspace 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

🖥️ dsh-remote-workspace

License: MIT Node DSH Plugin Type Code Size npm version

English | 简体中文

Remote Workspace for DeepSeek Harness (DSH) — browse files, edit code, and run commands on one or more SSH servers directly from the DSH web UI. Like VS Code Remote-SSH, without leaving the conversation.


📑 Table of Contents

✨ Features

  • Multi-server connection management (Settings → Remote Workspace): SSH alias (~/.ssh/config Host) or host/port/user modes; switch connections anytime; config persists in browser localStorage
  • 🔌 Connect / ⏹ Disconnect: verify and hold/release the active server's connection state with one click
  • File tree browser: lazy-loaded expand/collapse, hidden-files toggle, per-type icons, one-click copy path
  • Code editor: line numbers + 👁 syntax-highlight preview (keywords/strings/comments/numbers/decorators) + ✏️ edit and save back to the server
  • Command runner: run any command on the server (working directory follows the open file)
  • Dock / Float dual modes: docked beside the conversation (conversation reflows, draggable divider) / wide floating panel (up to 1400px)
  • Conversation-direct: ask the agent in chat to operate on server files directly

🥇 Why this plugin?

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-thinkbar 下一个 Next dsh-whale-widget-sankou →