dsh-cloud-connector
Manifest validCloud Server Connection Plugin: SSH Connection, Remote Commands, File Transfer, GPU Monitoring, Environment Management, Task Queue + Server Status on Settings Page
dsh-cloud-connector
一个 Codex 风格的云服务器 SSH 连接管理器,集成进 DeepSeek Harness(DSH)的 Web GUI。
连接、断开、多服务器管理、端口隧道——全部在「设置 → SSH 连接」里可视化操作,配置持久化,重启不丢。同时提供一组 cloud_* 对话工具,可在聊天中直接接管服务器。
功能
设置页「SSH 连接」(Codex 风格)
- 输入 IP 即连接:点「+ 添加」,填主机/端口/用户名/身份文件,立即接入
- 随时连接 / 断开:每个服务器一个开关式按钮
- 多服务器管理:独立配置、编辑(⚙)、删除(🗑)
- 开机自动连接:每台服务器可单独开关,DSH 启动后自动接入
- 持久化:服务器列表存
servers.json,重启不丢
端口隧道(内网打通)
把服务器上只监听 127.0.0.1 的程序(网站、Jupyter、数据库……)通过 SSH 隧道映射到本地浏览器:
localhost:本地端口→服务器:远程端口- 启停开关 + 开机自动建立
- 例:服务器
8787端口 → 本地http://localhost:8787
对话工具(cloud_*)
| 工具 | 说明 |
|---|---|
cloud_connect | 连接服务器(输入 IP 即可,默认连腾讯云示例) |
cloud_exec | 远程执行命令 |
cloud_transfer | scp 上传/下载文件 |
cloud_server_info | 系统信息(主机名/CPU/内存/磁盘/GPU/Python) |
cloud_gpu_monitor | GPU 监控(nvidia-smi) |
cloud_env_manager | conda/Python 环境管理 |
cloud_task_queue | Slurm 任务队列 |
cloud_list_connections | 列出服务器及连接状态 |
cloud_disconnect | 断开连接 |
cloud_manage_servers | 增删改服务器配置、设置开机自动连接 |
安装
方式一:dsh plugin 命令
dsh plugin --profile web add github:<owner>/dsh-cloud-connector#main
方式二:手动
把本仓库加入 ~/.dsh/profiles/web/package.json 的 dependencies,然后:
cd ~/.dsh/profiles/web
pnpm install
确认 ~/.dsh/profiles/web/package.json 的 dsh.profile.bundles 数组里包含 dsh-cloud-connector,重启 DSH。
使用
- 打开 DSH → 设置 → SSH 连接
- 点「+ 添加」→ 输入服务器 IP / 端口 / 用户名 / 私钥路径 → 连接
- 底部「端口隧道」→ 建立隧道,把服务器端口映射到本地
- 或在对话里直接说「连接服务器」「在服务器上执行 xx」
私钥说明
- 私钥路径默认
C:/Users/linxianyuan/.ssh/id_rsa_cloud(这是本机路径示例,请改成你自己的) - 首次使用请把服务器公钥写入
~/.ssh/authorized_keys - 推荐用 ASCII 路径的私钥(Windows 下
cmd.exe执行 ssh 时中文路径会损坏命令行)
配置持久化
servers.json:服务器列表(含私钥路径,已加入 .gitignore,勿提交)tunnels.json:隧道配置- 参考
servers.example.json手动初始化
开发
lib/client.js 是 DSH 客户端插件,必须用 window.__ModuleLoader__.load({...}) 工厂包装格式(DSH 不执行 ESM 客户端源码)。ESM 原稿在 lib/client.esm.js,改完跑:
node scripts/wrap-client.mjs
License
MIT
Comments
Loading…
From the same category
by nexu-io
🎨 Best DeepSeek Harness Design Plugin. The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards,
★ 98.3k
Apache-2.0
TypeScript
Sep 27, 2026
by Molunerfinn
:rocket: The Ultimate Image Uploader for Efficient Creators. Supports Obsidian, Typora, VS Code etc. and 60+ image hosting services (S3, GitHub, Cloudflare R2, Imgur, Aliyun OSS...). Paste, upload, d
★ 27.3k
MIT
TypeScript
Sep 24, 2026
by zhu1090093659
DeepSeek Harness (DSH) Web Plugin Aggregation Ecosystem · Everything is a plugin, distributed via the Creative Workshop
★ 8.1k
Apache-2.0
TypeScript
Sep 27, 2026
dsh plugin --profile web add dsh-webby YaoApp
✨ All your agents and workspaces in one place, on every device you own. Track tasks on a board, accessible from desktop, mobile, browser, or API. Self-hosted.
★ 8k
Go
Sep 27, 2026
by omdsh-dev
开放的侧边栏底座,支持三方拓展注册新侧边栏页面。内置文件渲染编辑/终端/侧边对话/Git/子代理页面 | Open sidebar foundation, supports third-party extensions to register new sidebar pages. Built-in file rendering/editing, terminal, side chat, Git,
★ 3.8k
↓ 52.4k/wk
MIT
TypeScript
Sep 27, 2026
dsh plugin --profile web add dsh-better-sidebarby ccch1mneyyy
DSH 官方公众号收录的 TUI 补位插件:Claude Code 风,鲸鱼顶栏/实时状态/流式思考/双击 Esc 回滚/上下文进度+TPS。npm 一键装。 DSH official WeChat featured TUI plugin — Claude Code style: whale bar, live status, streaming thoughts, double-Esc rol
★ 3.6k
↓ 7.1k/wk
MIT
TypeScript
Sep 27, 2026
dsh plugin --profile terminal add @deepseek-harness-tui/dsh-tui