flymysql/dsh-remote 预览 preview

flymysql/dsh-remote

Plugin插件 Native原生 ⭐ 115 MIT Notifications & 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设置面板配置主机信息。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • 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

npm version downloads downloads license dsh-plugin

由 @flymysql 维护 · 主页 · 用量统计 · 博客 · 讨论区 · Issue · English

dsh-remote —— 把任意 SSH 机器变成真正的 DSH 工作区

为 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 界面、端口转发、审计日志、更新:

dsh-remote 设置页:机器列表、高级配置、远程 DSH 界面、体检与部署、端口转发、审计日志、更新

原生 「Add workspace / 选择工作区」 流程 —— 居中弹窗、两个 tab,默认落在「本机」;切到**「远程」**:

选择工作目录弹窗的「远程」tab:机器下拉、最近工作区、浏览…、设为远程工作区

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-liketavern 下一个 Next deepseek-harness-genui →