ArcherLyu/dsh-plugin-ssh0

dsh-plugin-ssh

dsh SSH remotes: manage remote harnesses over SSH and use the local machine as a thin client (codex-remote style). Ships a standalone dsh-ssh CLI plus a dsh profile bundle that adds an SSH Remotes panel to the local web GUI.

AI 分析

核心用于在本地 Web 界面或通过命令行直接操控远程服务器上的 DSH 实例。适合需要在云端或远程服务器运行重度任务的用户。

パッケージ
dsh-plugin-ssh
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/17

インストール

$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.