DSH Plugins
返回列表
🧰

dsh-remote-exec

联网工具 更新于 2026.08.26

在终端中运行以下命令:

dsh plugin install moreWax/dsh-remote-exec

将以下提示词粘贴到 DeepSeek Harness 对话框中:

在 DeepSeek Harness 终端中执行 dsh plugin install moreWax/dsh-remote-exec 即可安装该插件,插件源码仓库地址为 https://github.com/moreWax/dsh-remote-exec 。

插件介绍

You run DeepSeek Harness on your laptop, but the machine you actually need to touch lives elsewhere—a server, a dev container, a node behind Tailscale. dsh-remote-exec closes that gap: the agent's file tools and shell commands execute on the remote host while your local conversation, tool orchestration, and context management stay untouched. No SSH tunnels to juggle, no need to deploy Harness itself to the far end.

The connection layer offers two drivers. The SSH driver uses OpenSSH for file operations and reuses ssh PTY for interactive terminals, supporting key-based auth or Tailscale keyless identity. The mosh driver delegates file work to ssh but drives the interactive terminal through a native mosh client, so a Wi-Fi switch or a laptop lid-close-and-resume does not kill your session—handy for mobile work or unreliable networks.

This plugin is for developers who code locally but rely on remote GPUs or clusters; teams on a Tailscale private network who want the agent to read and write remote files without constant scp round-trips; and heavy terminal users who need long-lived sessions that survive roaming or sleep. It is built against DeepSeek Harness 0.1.1-rc.x, with remote shell and filesystem verified end-to-end over SSH.

使用场景

  • 本地运行 Harness,让 agent 直接在远程 GPU 服务器上读写文件并执行 Shell 命令
  • 通过 Tailscale 私有网络免密连接远端开发机,避免手动 scp 来回搬运文件
  • 使用 mosh 驱动保持交互式终端在 Wi-Fi 切换或笔记本合盖后不断连
  • 在远程集群上运行长时训练任务并实时查看日志终端

适合人员

  • 依赖远程 GPU 或集群、本地只跑编排的开发者
  • 使用 Tailscale 私有网络、希望 agent 直接操作远端文件的团队
  • 需要长时间终端会话且经常移动办公的工程师