Back to home

RedreamR

dsh-remote-access

Access dsh webUI safely from remote. / 安全的远程访问dsh WebUI。

Stars
0
Language
TypeScript
Created
Aug 16, 2026
Updated
Aug 16, 2026

Introduction

dsh-remote-access

在公网上提供Deepseek Harness WebUI的安全访问。

dsh WebUI本身不允许监听0.0.0.0,出于安全考虑也不应当这么做。

此插件允许设置一个转发端口及密码,可以通过密码远程访问dsh WebUI。

由Agent生成的说明文档见README_ai.md

Configuration

可以通过 DSH 设置界面的 “远程” 页配置,也可以在 profile 的 cordis.patch.yml--patch 覆盖层中配置。

- id: dsh-remote-access
  config:
    enabled: true
    remoteHost: '0.0.0.0'
    remotePort: 3081
    password: 'your-strong-password'
    enableCaptcha: false
    maxAttemptsPerDay: 20
    maxAttemptsPer5h: 10

密码通过设置界面保存时会加密写入 $DSH_HOME/settings.yaml

Install and Uninstall

一般而言,使用以下命令来安装:

切换到任意一个你想要的工作目录,然后执行:

dsh plugin --profile web add github:RedreamR/dsh-remote-access  --dangerously-allow-all-builds

由于pnpm对GitHub包的限制过于诡异(什么叫我要把整个url都写进allowBuild里,而且这个文件还得放在DSH_HOME下??),这里只好用--dangerously-allow-all-builds了。

使用以下命令来卸载:

dsh plugin --profile web remove dsh-remote-access

License

MIT