dsh-remote-exec

August 25, 2026 ยท View on GitHub

Run DeepSeek Harness locally, execute on your server. One plugin; the agent's file tools and shell operate on a remote machine over SSH or mosh.

- id: remote-exec
  name: '@morewax/dsh-remote-exec'
  config:
    driver: ssh          # ssh | mosh
    host: gpu-box        # or a Tailscale MagicDNS name
    user: me
    root: /home/me/work  # remote workspace
    tailscale: true      # keyless tailnet auth (ssh/mosh)

Drivers

DriverExec & filesInteractive terminalAuth
sshOpenSSHssh PTYkeys, or tailscale: true for keyless tailnet identity
moshvia sshnative mosh โ€” roaming-safe, survives sleepsame as ssh

Install

dsh plugin --profile default add github:moreWax/dsh-remote-exec

Development

pnpm install
pnpm run typecheck
pnpm test          # offline suites
pnpm build

# live end-to-end over ssh (needs key auth to the target):
DSH_REMOTE_LIVE=1 DSH_REMOTE_HOST=127.0.0.1 DSH_REMOTE_USER=$USER \
DSH_REMOTE_ROOT=/tmp/remote-test pnpm test

Status

Built against DeepSeek Harness 0.1.1-rc.x (developer preview). Remote shell and filesystem are verified end-to-end over SSH; mosh interactive uses the standard mosh client behavior.