dsh-remote-access

by RedreamR

0 开发与运行时github 检测到 manifest package.json#dsh收录于 08-16

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

安装

dsh plugin --profile web add github:RedreamR/dsh-remote-access

GitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试

安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗

安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。

README

在公网上提供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

原始 README: https://github.com/RedreamR/dsh-remote-access/blob/master/README.md ↗