IceApriler/dsh-remote-mobile ↗★ 0
dsh-remote-mobile
DeepSeek Harness 远程与移动端安全网关插件:零修改 DSH 底层代码安全开放局域网与 Tailscale 连接 | DeepSeek Harness (DSH) Remote & Mobile Security Guard: safely opens Tailscale/LAN with zero core modifications, QR scan auth, RSA encryption & brute-force defense.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:IceApriler/dsh-remote-mobile说明文档
阅读完整 README ↗2. 必备前置配置(开放外部监听)
由于 DSH 默认仅监听 127.0.0.1,为了使 Tailscale 私网或局域网设备能够正常连通,请确保在 ~/.dsh/profiles/web/cordis.patch.yml 中包含以下配置:
### 3. 启动并使用
```bash
dsh web --no-open
启动后,在电脑浏览器打开 DSH Web 控制台,进入 设置 ⚙️ -> 远程与移动端,使用手机微信或系统相机扫描二维码即可立即开启移动端接入!
⚙️ 高级配置
插件已完全接入 DSH 官方 Settings 体系,配置项支持在 Web 界面中直观调整,也可在 ~/.dsh/settings.yaml 的 dsh-remote-mobile 命名空间下手动修改:
dsh-remote-mobile:
allowTailscale: false # boolean,默认 false:是否允许 Tailscale 虚拟私网免密访问
allowLan: false # boolean,默认 false:是否允许局域网免密访问(高危警示)
secretHash: "" # string,默认空:长期访问密码的 scrypt 加盐哈希值
maxVisitsPerMinute: 60 # number,默认 60:单 IP 每分钟最大访问登录页次数
maxFailedAttempts: 5 # number,默认 5:触发封禁的连续认证失败最大次数
lockDurationMs: 900000 # number,默认 900000 (15分钟):IP 锁定持续时间(毫秒)