ljh220300-eng/dsh-plugin-ssh-manager ↗★ 0
dsh-plugin-ssh-manager
Manage multi-IP DSH instances from one terminal via SSH tunnels · 在一台终端上通过 SSH 隧道管理多 IP 的 DSH
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ljh220300-eng/dsh-plugin-ssh-manager说明文档
阅读完整 README ↗Configuration / 配置
- Registry:
$DSH_HOME/plugins/ssh-manager/hosts.json(~/.dsh/plugins/ssh-manager/hosts.jsonunlessDSH_HOMEis set). - One record per remote host:
{
"name": "lab-01",
"sshHost": "192.168.1.10",
"sshPort": 22,
"sshUser": "root",
"authMethod": "key",
"identityFile": "C:\\Users\\me\\.ssh\\id_ed25519",
"passphrase": "",
"remoteHost": "127.0.0.1",
"remotePort": 3080,
"localPort": null,
"autoConnect": true
}
remotePortis the port the remote DSH web server listens on (dsh webdefaults to 3080; the desktop app picks its own — check the remote machine's GUI URL).remoteHostis the bind address to reach on the remote side through ssh; keep127.0.0.1when DSH runs on the ssh host itself.- Passphrase-protected keys are supported:
passphraseis answered through the same SSH_ASKPASS mechanism as passwords (environment only).