xgone/dsh-remote
DeepSeek Harness远程访问:账户/密码认证+MFA(TOTP)登录门禁、签名会话Cookies、基于角色的访问、浏览器内目录选择器,以及用于账户管理的设置页面。
Project Overview项目介绍
dsh-remote is a native plugin built exclusively for DeepSeek Harness (DSH) that adds secure remote access to DSH’s Web UI. It installs via the DSH plugin command with one line: dsh plugin --profile web add @xgone/dsh-remote, and requires a restart of dsh web after installation or upgrade because it does not support hot reload. It adds a login gate, MFA/TOTP two-factor authentication, role-based permissions, and a remote file preview panel that works in any external browser, so you don’t need to spawn a native window on your host machine. It also supports previewing multiple common file types including images, PDFs, and docx text extracts.
This plugin is designed for users who need to expose their locally running DSH Web UI to public internet for remote access. By default, it only listens on the local loopback address, so public access requires pairing it with an HTTPS reverse proxy or secure tunnel, and it works with popular tools like nginx, SSH tunnels, Tailscale, Frp, and Cloudflare Tunnel. After installation, you need to create the first admin account on your local machine, and we recommend binding MFA two-factor authentication to improve the security of your remote access. It even supports headless servers without a local browser via a bootstrapped admin configuration.
dsh-remote is released under the open-source MIT license, so it is free to use and modify for any purpose. It has a few known limitations: any configuration change requires a restart of dsh web, multiple user accounts cannot isolate workspace data on a single DSH instance, and users needing isolation can run separate DSH profile instances for each user. If you get locked out of your instance, you can disable the login gate by changing a configuration value and restarting the service. After uninstalling, account data is retained by default for future reinstalls.
dsh-remote 是专为 DeepSeek Harness 开发的原生插件,用于给 DSH 的 Web UI 添加安全的远程访问能力,在原有 dsh web 服务基础上增加登录门禁、TOTP 两步验证、角色权限控制和远程文件预览功能。它支持外部浏览器访问完整功能,不需要在宿主机弹出原生窗口,可通过 dsh plugin 命令一键安装,安装或升级后必须重启 dsh web 才能生效。
该插件适合需要将本地运行的 DSH Web UI 暴露到公网远程访问的用户,默认只监听本机回环地址,公网访问需要配合 HTTPS 反向代理或安全隧道使用,支持 nginx、SSH 隧道、Tailscale、Frp、Cloudflare Tunnel 等多种部署方式。安装后需要在本机创建首个管理员,推荐绑定 MFA 两步验证提升访问安全性。
本插件采用 MIT 许可开源免费使用,已知限制包括修改配置后必须重启 dsh web 生效,不支持热重载,多账号无法在同一个 DSH 实例中隔离工作区数据,需要隔离的用户可分别运行不同的 profile 实例。无本地浏览器的 headless 服务器也支持通过预置配置创建管理员账号。
请帮我安装这个 DSH 插件。安装前先完成【兼容性检查 + 安全性检查】,检查通过再动手。
插件:dsh-remote(xgone/dsh-remote)
仓库:https://github.com/xgone/dsh-remote
本站详情页:https://www.yhbd.top/plugins/xgone-dsh-remote/
本站登记:类型 plugin · 归类 原生 DSH 插件 · 许可证 MIT · ⭐ 69 · 最近提交 2026-09-29 · 主语言 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 @xgone/dsh-remote
把 xgone/dsh-remote 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-remote
中文 · English
让 DeepSeek Harness Web UI 可以被安全地远程访问:在 dsh web 前增加登录门禁、MFA/TOTP、角色权限和远程文件预览。外部浏览器登录后即可使用完整功能,同时不在宿主机上弹出原生窗口。
适用于已经能在本机运行
dsh web的环境。插件默认只监听本机回环地址;公网访问仍需 HTTPS 反向代理或安全隧道。
目录
功能概览
- 登录门禁:未登录访问任何路径都会进入登录页;
/api和 WebSocket 全部要求有效会话。密码使用 scrypt 加密存储,登录失败限速,首个管理员仅限本机创建。 - MFA 两步验证:兼容 Google Authenticator、1Password、Authy 等标准 TOTP 认证器;支持扫码绑定和 10 个一次性备用码,管理员可以为账号关闭 MFA。
- 会话与权限:签名会话 Cookie;默认管理员专用,可选启用
admin/user/guest三级角色。 - 远程文件面板:在右侧边栏预览代码、Markdown、图片、PDF、视频、音频、文本、目录和
.docx提取文本;不支持预览的文件直接下载。默认只允许 DSH 主目录与工作目录,可在设置中添加目录。 - 远程访问:适配 nginx、SSH 隧道、Tailscale、Frp、Cloudflare Tunnel 等方式,并完整转发 WebSocket 事件流。
- 浏览器内工作区:选择或新建工作区使用浏览器内目录对话框,不调用宿主机原生文件窗口。
- 界面与性能:跟随 DSH 的浅色 / 深色主题和中英文语言;远程响应默认自动 gzip 压缩,静态资源可配合边缘缓存。
界面预览
| 登录门禁(未登录访问任何路径) | 设置 → 登录与账号 |
|---|---|
![]() |
![]() |
快速开始
1. 安装
dsh plugin --profile web add @xgone/dsh-remote
2. 重启 dsh web
补丁不支持热重载,安装或升级后必须重启:
dsh web
3. 创建首个管理员
在本机浏览器打开 http://127.0.0.1:3080。首次访问会进入引导模式:输入用户名和密码(至少 6 位)创建首个管理员,创建成功后自动登录。
服务器没有本地浏览器?见无浏览器服务器。
4. 绑定 MFA(推荐)
进入 设置 → 登录与账号 → 双重验证(MFA)→ 启用,用认证器扫码并输入 6 位动态码。请先保存页面上的 10 个备用码。
Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →


liustack/modsearch
wxkingstar/SpecFusion
dingyi222666/dsh-session-notification
phoenixlucky/zerotoken-skill
Leon0555/dsh-lan-access
610la/dsh-notification-center