raomaiping-hash/dsh-rgate0

dsh-rgate

DeepSeek Harness Web UI 的远程访问登录门禁:为非环回访问提供密码墙、完整的 /api RPC 门禁、会话 Cookie 以及远程访问设置板块。

AI 分析

核心用途是为 DSH Web UI 提供远程访问安全防护。适合需要从局域网、Tailscale 或公网远程访问 DSH,并需要密码认证与 API 鉴权的安全管理任务。

包名
dsh-rgate
版本
0.1.3
许可证
MIT
最近更新
2026年8月17日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:raomaiping-hash/dsh-rgate

Configuration

There is no config file for the gate itself. Two behaviors are worth knowing:

  • Loopback is always trusted. 127.0.0.1 / localhost / ::1 never see the wall — that is the admin path.
  • All other Hosts require login (LAN, Tailscale, public domain alike). If you want a friction-free host, protect it upstream instead (see below).

The password file lives at $DSH_HOME/remote-auth.json (default ~/.dsh/remote-auth.json — the harness convention, beside settings.yaml):

fieldmeaning
version: 2scrypt-hashed storage
salt, N, r, p, hashscrypt parameters and derived key
createdAt, updatedAtbookkeeping