flymysql/dsh-remote
DeepSeek Harness(DSH)远程工作助手:通过SSH(密钥或密码)连接,选择远程工作区,使用rw_*工具操作,并通过SFTP将其镜像到本地真实的DSH工作区中。
Project Overview项目介绍
This is a native DSH plugin built exclusively for DeepSeek Harness, designed to let users manage multiple SSH remote machines and use them as DSH workspaces directly. It integrates with DSH’s native workspace selection flow, adds a dedicated remote workspace management panel in DSH’s settings UI, and does not require any modifications to the DSH core to function. It also supports one-click import of host aliases from the user’s local ~/.ssh/config file to speed up initial setup. After installation, users can add, edit, delete, and switch between multiple remote SSH machines directly from the DSH settings interface.
When creating a new workspace, users can switch to the remote tab in DSH’s native workspace picker, select a configured host, and browse the remote file system via live path autocomplete and a floating directory browser. Once a target remote directory is selected, the plugin creates a synced local mirror of the remote workspace under DSH’s home directory, so DSH can interact with it just like a local workspace. It supports many authentication methods including password, private key, OTP, proxy jump hosts, and OpenSSH agent. It is targeted at developers who regularly work on multiple remote servers, letting them complete all development tasks via DSH without switching to standalone SSH tools.
The plugin is released under the open-source MIT license, with no cost for personal or commercial use. It includes special handling for Windows remote hosts, automatically converting path formats and defaulting to Git Bash for command execution. All credentials are stored locally, either in a local file or encrypted via the system keychain, and all commands executed remotely are logged to a local audit file by default. Users are advised to only add trusted remote hosts, as the plugin grants the DSH agent full user-level access to the remote machine. After first installation, users access the plugin through the DSH settings panel to begin adding remote hosts.
这是一个专为DeepSeek Harness(DSH)开发的原生插件,核心功能是让用户能够将多台SSH远程主机纳入DSH工作流,在不修改DSH核心代码的前提下,让DSH代理直接在远程工作区操作文件、执行命令。插件集成到DSH原生的添加、选择工作区流程中,会在设置界面新增远程工作区管理面板,支持多台主机的添加、编辑、删除和切换操作。
用户可以提前导入本地~/.ssh/config的主机别名快速配置,支持密钥、密码、OTP、跳板机、SSH代理等多种认证方式,密码支持本地存储或系统加密保管。配置完成后,用户在工作区选择器切换到远程标签,选好主机后通过路径自动补全和目录浏览器快速定位目标工作区,确认后即可同步到本地镜像供DSH使用,适合需要在多台远程服务器上开发调试的开发人员。
插件采用MIT许可证开源,免费供个人和商业使用,对远程Windows主机做了特殊适配,自动转换路径格式并默认使用Git Bash执行命令。所有操作均在本地完成,密码不会外传,所有执行过的命令默认会记录在本地审计日志供追溯,只建议添加信任的远程主机,安装后首次使用可在DSH设置面板配置主机信息。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-remote(flymysql/dsh-remote)
仓库:https://github.com/flymysql/dsh-remote
本站详情页:https://www.yhbd.top/plugins/flymysql-dsh-remote/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 115 · 最近提交 2026-10-03 · 主语言 JavaScript
按下面顺序执行,每步先把结论告诉我,再进入下一步:
【1 兼容性检查】
① 我这边:DSH 版本、Node 版本、操作系统、当前 profile(web / desktop)。
② 读它的 README、package.json、插件 manifest,列出它要求的 DSH 版本 / Node 版本 / 操作系统 / 外部依赖 / 需要另外先装的运行时。
③ 逐条比对,结论只写「满足 / 不满足 / 未知」三种;不满足的给出可行替代方案。
④ 检查是否和我已装的插件冲突:命令名重复、skill / tool 重名、端口占用、重复注册的 MCP server。
【2 安全性检查】
① 仓库可信度:和上面「本站登记」是否一致;star / fork 数、创建时间、最近提交,是否归档或长期停更。
② 安装脚本:逐行看 package.json 的 preinstall / install / postinstall,以及 install.sh、setup.ps1 之类脚本。出现 curl|bash、下载后直接执行、混淆代码、访问与插件功能无关的域名,立刻停下来告诉我,不要继续装。
③ 依赖:列出新增依赖,标出无人维护、或与知名包拼写近似的可疑包(typosquatting)。
④ 权限与副作用:它会读写哪些目录、访问哪些域名、需要哪些 DSH 权限(filesystem / network / shell / clipboard 等),以及怎么卸载和回滚。
⑤ 如果它要求 sudo / 管理员权限,或权限明显超出功能所需,先停下来问我。
【3 安装】
上面两步没有「不满足」和「高危项」时才执行;用官方推荐方式安装,不要自行提权。
【4 汇报】
用表格输出:检查项 / 结论 / 依据 / 是否需要我决策。拿不准的一律写「未知」并说明要我怎么确认——不要猜,也不要替我决定。
Send this message to DSH in your current session: it verifies compatibility and security first (answering met / not met / unknown item by item) and only installs once everything checks out — it will stop and ask you if it finds a high-risk item. The box scrolls; the copy is the full prompt. CLI install commands may not be accurate across systems, so DSH is the safer route.把上面这条消息直接发给当前会话里的 DSH:它会先核对兼容性与安全性(逐条给「满足 / 不满足 / 未知」),确认没问题再安装,有高危项会停下来问你。框内可滚动,复制到的是完整提示词;安装命令不一定准确,发给 DSH 更稳。
- This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
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 dsh-remote
把 flymysql/dsh-remote 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
English · 中文
dsh-remote
由 @flymysql 维护 · 主页 · 用量统计 · 博客 · 讨论区 · Issue · English

为 DeepSeek Harness(DSH)打造的远程工作助手。
维护多台 SSH 机器,然后在「选择工作区」时选一个远程工作区(或本地工作区),Agent 就能在不离开 harness 的情况下直接操作——列文件、读代码、在远程主机上跑构建/命令,并把远程目录镜像成一个真实的本地工作区对象。
DSH 的 Web 界面刻意只监听 127.0.0.1(CLI 为安全拒绝 --host 0.0.0.0)。本插件反过来:由你主动连出到你维护的机器,选一个工作区,然后通过 DSH 原生的工作区 + 文件流来工作——不改动 dsh-workspace 核心。
反过来也成立:你可以把远端那台机器的 DSH 网页界面,当成本机浏览器里的一个页面打开——同样不需要在远端开放任何端口(详见 在本地打开远程机器上的 DSH 界面)。连不上时还有一键体检与部署,它会替你把远端环境修好并验证。
数据采集 / 遥测
每次启动发送一次匿名心跳(同一安装最少间隔 6 小时),只用于统计用量:去重日活、实际在跑的版本、平台分布。npm 下载量由发版驱动、且含镜像与爬虫,GitHub clone 混有 CI,都回答不了这些。
只发送 5 个字段:idHash(HMAC-SHA256('dsh-remote/telemetry/v1', installId) 的伪名)、version、platform、arch、node。不发送主机名、用户名、路径、IP、SSH 主机/端口/密钥、机器列表、会话内容。原始 installId(<DSH_HOME>/.dsh-remote-install-id)不离开本机,只传它的 HMAC。
心跳是尽力而为的旁路:不阻塞加载,失败静默忽略。
界面预览
设置 → 远程工作区 —— 多机列表、高级配置(私钥/跳板机/agent)、连接体检、远程 DSH 界面、端口转发、审计日志、更新:

原生 「Add workspace / 选择工作区」 流程 —— 居中弹窗、两个 tab,默认落在「本机」;切到**「远程」**:
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →
xmanrui/dsh-im
tencent-connect/dsh-qqbot
whiteguo233/dsh-openbiliclaw
omdsh-dev/dsh-lark
hanshanyike/dsh-yolo
THEWOLFWALKER/dsh-notifier
GDWhisper/dsh-web-startup-auth