dsh-remote-server
通过 SSH 在远程服务器上运行命令的 DSH 插件,支持 @ 提及服务器及双重审批门禁。
AI 分析
核心用途是让 DSH Agent 具备远程服务器运维和部署能力。适合需要 Agent 跨机器执行命令、修改配置,同时要求严格安全审批的系统管理员或开发运维人员。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:MRZHUH/dsh-remote-server说明文档
阅读完整 README ↗Configuration
| Key | Default | Meaning |
|---|---|---|
connectTimeoutMs | 10000 | Bound on establishing the connection. |
execTimeoutMs | 120000 | Bound on one command. |
probeTimeoutMs | 15000 | Bound on one facts probe. |
outputMaxBytes | 65536 | Retained bytes per stream; overflow keeps the tail and is reported as truncated. |
strictHostKeyChecking | accept-new | Unknown-host-key policy (accept-new or yes). |
alwaysAsk | false | Route every command to a human. |
readOnlyAllowlist | [] | Command prefixes that skip the classifier. |
classifier | unset | { provider, model } for auto-approval. |
classifyTimeoutMs | 15000 | Bound on one classification call. |