@lemoncat7/dsh-ssh
DSH 安全 SSH 插件,提供 SSH 配置管理、浏览器终端、代理、端口转发以及按所有者隔离的会话级 AI 终端访问。
AI 分析
核心用途是让 AI 能够安全地在远程服务器上执行任务。适合需要通过 DSH 进行远程运维、服务器管理和代码部署的工程师。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lemoncat7/dsh-ssh说明文档
阅读完整 README ↗DSH 配置
安装包后,bundle 会插入默认配置:
- id: ssh
name: '@lemoncat7/dsh-ssh'
config:
statePath: !!js dshHomePath('ssh/state.json')
exposeWeb: true
apiPrefix: /ssh-local/v1
defaultCommandTimeoutMs: 30000
maxOutputChars: 32000
allowPublicBind: false
插件依赖当前 DSH 的 credentials 和 tools 服务。浏览器管理还需要 Web Profile 的 webServer;浏览器终端和 AI 终端由插件内部按所有者隔离管理,不依赖 Host Root 中不存在的 terminals 服务。