dsh-remote-agent

连接 Linux 服务器的 Agent 工作台,支持持久会话、远程终端、文件编辑、Git worktree 和端口转发。通过本机 OpenSSH 客户端(macOS/Linux;远端为带 GNU coreutils 的 Linux,tmux 可选)在 ~/.ssh/config 里的任意主机上执行命令、编辑文件、做端口转发,主机密钥检查默认 accept-new;每个终端最近 512K 字符的输出会存到 ~/.dsh/remote-agent/terminals。与 zbzbhs/dsh-remote-agent 同包名、同挂载 id,两者同装会冲突。

插件介绍

连接 Linux 服务器的 Agent 工作台,支持持久会话、远程终端、文件编辑、Git worktree 和端口转发。通过本机 OpenSSH 客户端(macOS/Linux;远端为带 GNU coreutils 的 Linux,tmux 可选)在 ~/.ssh/config 里的任意主机上执行命令、编辑文件、做端口转发,主机密钥检查默认 accept-new;每个终端最近 512K 字符的输出会存到 ~/.dsh/remote-agent/terminals。与 zbzbhs/dsh-remote-agent 同包名、同挂载 id,两者同装会冲突。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:BeastyZ/dsh-remote-agent

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。