WhitesPantry/dsh-remote-connector ↗★ 0
dsh-remote-connector
Deploy and manage DeepSeek Harness on a remote server over SSH, with one-click tunnel and open. 适合需要在远程服务器上部署、启动和管理DSH的运维或开发人员。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:WhitesPantry/dsh-remote-connector使用 / Usage
- 打开侧栏「远程服务器」→「添加服务器」,填地址(如
server.example.com或user@host)、可选端口/密钥/远端端口/本地端口。 - 点「测试」确认 SSH 连通。
- 点「一键连接」:插件会自动部署 Node+DSH(首次较慢)、启动远端 DSH、建立隧道并给出访问地址。
- 点「打开」在浏览器打开远端 DSH;或手动访问面板显示的
http://127.0.0.1:/?token=...。
- 「停止」= 停止远端 DSH 进程;「断开」= 只断开本机隧道;「删除」= 移除服务器记录。
- 远端日志位于服务器
~/.dsh-remote-connector-.log;token 地址也会打印在这里。
配置 / Config
cordis.patch.yml 中的默认配置可在 profile 的 patch 层覆盖:
| 键 | 默认 | 说明 |
|---|---|---|
sshBinary | ssh | ssh 命令路径 |
connectTimeoutSec | 15 | 连接超时(秒) |
storageDir | ~/.dsh/dsh-remote-connector | 服务器列表存储目录 |
nodeVersion | v22.21.0 | 部署到远端的 Node 版本 |
dshPackage | @deepseek-ai/dsh | 部署到远端的 DSH npm 包 |
defaultRemotePort | 8787 | 远端 DSH 默认端口 |
defaultLocalPort | 8787 | 本机隧道默认端口 |