ljh220300-eng/dsh-plugin-ssh-manager0

dsh-plugin-ssh-manager

Manage multi-IP DSH instances from one terminal via SSH tunnels · 在一台终端上通过 SSH 隧道管理多 IP 的 DSH

包名
dsh-plugin-ssh-manager
版本
0.1.3
最近更新
2026年9月1日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ljh220300-eng/dsh-plugin-ssh-manager

Configuration / 配置

  • Registry: $DSH_HOME/plugins/ssh-manager/hosts.json (~/.dsh/plugins/ssh-manager/hosts.json unless DSH_HOME is 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
}
  • remotePort is the port the remote DSH web server listens on (dsh web defaults to 3080; the desktop app picks its own — check the remote machine's GUI URL).
  • remoteHost is the bind address to reach on the remote side through ssh; keep 127.0.0.1 when DSH runs on the ssh host itself.
  • Passphrase-protected keys are supported: passphrase is answered through the same SSH_ASKPASS mechanism as passwords (environment only).