CrazyShout/dsh-ssh-remote0

dsh-ssh-remote

DSH SSH 远程工作区插件,支持在远程主机上浏览、读写文件、运行命令及打开终端。

AI 分析

核心用途是让 AI 智能体直接驱动和管理远程服务器。适合需要在 GPU 服务器或远程开发机上进行实验和代码部署的用户。必要条件是 Node 22+。

套件
dsh-ssh-remote
版本
0.1.0
授權
MIT
最近更新
2026年8月13日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:CrazyShout/dsh-ssh-remote

Usage

The agent drives remote hosts through the ssh_remote tool:

ssh_remote { action: "add",    uri: "ssh://user@gpu-server:22/home/user/exp" }
ssh_remote { action: "connect", id: "" }
ssh_remote { action: "exec",    id: "", command: "nvidia-smi" }
ssh_remote { action: "read",    id: "", path: "train.py" }
ssh_remote { action: "write",   id: "", path: "notes.txt", content: "..." }
ssh_remote { action: "list" }

path accepts a remote absolute path (/home/user/exp/a.py) or a workspace-relative path (a.py).