dsh-plugin-ssh-hosts:在 DSH 中管理多台 Linux 服务器的 SSH 清单、执行与凭据

dsh-plugin-ssh-hosts 是 DSH 的 Host-only 插件,基于 ssh2 在多台 Linux 上提供 ssh_exec、文件读写、SFTP 上传下载、按主机 sudo 策略、会话授权与高风险命令审批;密码与私钥 AES-256-GCM 存于本机且不进模型。本文说明前置条件(DSH 0.2.1-rc.2+、Node 22.19+)、dsh plugin add 安装步骤、cordis 配置项,以及 ssh_host_add 与凭据录入的典型用法与注意事项。

阅读全文