raomaiping-hash/dsh-rgate ↗★ 0
dsh-rgate
DeepSeek Harness Web UI 的远程访问登录门禁:为非环回访问提供密码墙、完整的 /api RPC 门禁、会话 Cookie 以及远程访问设置板块。
AI 分析
核心用途是为 DSH Web UI 提供远程访问安全防护。适合需要从局域网、Tailscale 或公网远程访问 DSH,并需要密码认证与 API 鉴权的安全管理任务。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:raomaiping-hash/dsh-rgate说明文档
阅读完整 README ↗Configuration
There is no config file for the gate itself. Two behaviors are worth knowing:
- Loopback is always trusted.
127.0.0.1/localhost/::1never 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):
| field | meaning |
|---|---|
version: 2 | scrypt-hashed storage |
salt, N, r, p, hash | scrypt parameters and derived key |
createdAt, updatedAt | bookkeeping |