telagod/dsh-ssh-workspace-manager ↗★ 0

dsh-ssh-workspace-manager

First-class SSH remote page: bind workspaces to hosts and run exec/sync/compose 核心用途是实现工作区与远程主机的深度绑定与自动化部署。适合需要让 AI Agent 自动执行远程代码同步、容器编排和命令执行的开发运维任务。

Package
dsh-ssh-workspace-manager
Compatibility
Unverified
Version
0.2.0
License
MIT
Last updated
Sep 10, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

可配置项

服务器:名称、主机、端口、用户名、面板类型、认证方式(SSH Agent / 指定私钥)、私钥路径、跳板机 ProxyJump、连接超时、保活间隔(ServerAliveInterval)、known_hosts 策略、登录 shell。

关联:Workspace、服务器、远程项目目录、环境(开发 / 测试 / 生产)、容器运行时、Compose 文件、Compose 项目名、同步排除项、是否默认关联。

偏好(preferences):新关联默认环境 / 运行时、默认 Compose 文件、新主机默认超时 / 保活 / known_hosts / 登录 shell、会话标题栏芯片开关。

  • 保活:ServerAliveInterval=N + ServerAliveCountMax=3,0 表示关闭;长任务建议 30。
  • 登录 shell:远端命令包一层 bash -lc(没有 bash 时退回 sh -lc),能读到 /etc/profile、nvm、bun 等 PATH。
  • 同步排除:rsync 走 --exclude,本机没有 rsync 退回 tar 时走 --exclude=;ssh_sync 调用里也能临时加。

使用

  1. 设置 → SSH 远程:添加主机,点「测试连接」或「探测主机」。
  2. 在项目会话里让 Agent 干活(deploy / 远端 / 同步)。它会 ssh_status → 必要时 ssh_bind → ssh_exec / ssh_sync / ssh_compose。
  3. 设置页里的关联可以手动加/改/解除;Agent 也会自己维护。