dsh-remote-exec
安全与治理 活跃维护

dsh-remote-exec

moreWax/dsh-remote-exec

支持SSH、MOSH、SAM三类远程执行能力,本地运行代理即可直接向服务器下发执行指令,无需复杂配置即可适配不同网络环境下的服务器操作

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
157 KB
仓库大小
27 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:moreWax/dsh-remote-exec
git clone https://github.com/moreWax/dsh-remote-exec.git
git clone git@github.com:moreWax/dsh-remote-exec.git
README.md main

dsh-remote-exec

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

Driver Exec & files Interactive terminal Auth
ssh OpenSSH ssh PTY keys, or tailscale: true for keyless tailnet identity
mosh via ssh native mosh — roaming-safe, survives sleep same 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.