dsh-remote
Secure reverse-proxy gateway: remotely control DeepSeek Harness (dsh web) from a phone browser, with full feature coverage and loopback masquerading.
AI Analysis
核心用途是实现跨设备(如手机、平板)远程安全访问和控制本机的 DSH 服务。适合有移动端协同、远程监控 Agent 运行需求的用户。需要配置访问口令。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗⚙️ 配置
配置文件 config.json(参考 config.example.json)或环境变量(DSH_REMOTE_*,
优先级更高):
| 配置项 | 环境变量 | 默认 | 说明 |
|---|---|---|---|
host | DSH_REMOTE_HOST | 0.0.0.0 | 监听地址 |
port | DSH_REMOTE_PORT | 3443 | 监听端口 |
upstream | DSH_REMOTE_UPSTREAM | http://127.0.0.1:3080 | dsh web 地址 |
password | DSH_REMOTE_PASSWORD | — | 访问口令(明文,不推荐) |
passwordHash | DSH_REMOTE_PASSWORD_HASH | — | scrypt 哈希(推荐) |
sessionTtlHours | DSH_REMOTE_SESSION_TTL_HOURS | 12 | 会话有效期(小时) |
rateLimit | DSH_REMOTE_RATE_LIMIT | 5:900000 | 登录失败限流(次数:窗口ms) |
allowIps | DSH_REMOTE_ALLOW_IPS | [] | IP 白名单(空=不限) |
tls.cert/key | DSH_REMOTE_TLS_CERT/KEY | — | HTTPS 证书/私钥路径 |
distDir | DSH_REMOTE_DIST_DIR | 包内 public/ | 登录页静态资源目录 |
生成口令哈希:
node bin/dsh-remote.js hash-password