dsh-plugin-ssh
DSH SSH 远程管理插件,支持通过 SSH 管理远程 Harness,将本地机器作为瘦客户端使用。
AI 分析
核心用于在本地 Web 界面或通过命令行直接操控远程服务器上的 DSH 实例。适合需要在云端或远程服务器运行重度任务的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ArcherLyu/dsh-plugin-ssh说明文档
阅读完整 README ↗Configuration
Remotes live in $DSH_HOME/remotes.json (default ~/.dsh/remotes.json):
{
"remotes": {
"prod": {
"host": "my-server",
"user": "deploy",
"port": 22,
"identity": "~/.ssh/id_ed25519",
"jump": null,
"workspace": "/srv/app",
"remotePort": 3080,
"localPort": 0,
"launch": null,
"sshArgs": []
}
}
}
Runtime tunnel state is kept per remote in $DSH_HOME/remotes-state/.json
so a later disconnect/status can find the spawned ssh process.
On the remote, the plugin records its own state at
~/.dsh/remotes/.json (pid, log path, port) and writes the harness log
to /.dsh-ssh.log.