dsh-ssh-shell
DSH plugin: password SSH into a remote host — a natural-language tool (connect/exec/close/status) over a persistent ControlMaster session, plus a browser terminal panel (right-side floating) with a real PTY over WebSocket. 适合需要让 AI 执行远程命令,同时在浏览器中直接使用 PTY 终端的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:framecy/dsh-ssh-shell配置
cordis.patch.yml 提供这些配置项(由插件自身的 bundle patch 声明,profile 级 cordis.patch.yml 可按 id 覆盖):
| 配置 | 默认 | 说明 |
|---|---|---|
controlDir | "" → ~/.dsh/ssh-shell | ControlMaster socket 存放位置 |
timeoutMs | 30000 | 单条命令默认超时 |
controlPersistSeconds | "" → yes | 留空 = master 常驻直到自己死;填秒数 = 闲置这么久后回收 |
confirmByDefault | true | 远程命令是否默认逐条确认 |
requireSshpass | true | 缺 sshpass 是否直接报错 |