hoshinoick811/dsh-tool-ssh1

dsh-tool-ssh

MobaXterm 风格的 DSH SSH/SFTP 工具插件:支持保存连接配置、持久化多路复用会话、远程命令执行及向 Linux 主机传输文件。

AI 分析

核心用途是让 Agent 具备直接管理远程 Linux 服务器的能力。适合运维、后端开发等需要让 AI 辅助部署、查看日志或修改服务器配置的用户。

套件
dsh-tool-ssh
版本
0.1.0
授權
MIT
最近更新
2026年9月6日

安裝

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

使用示例(阿里云 ECS)

1. ssh_connections action=add name=aliyun host=192.0.2.1 username=root privateKeyPath=C:\keys\aliyun.pem
2. ssh_exec connection=aliyun command="systemctl status nginx"
3. ssh_read connection=aliyun remotePath=/etc/nginx/nginx.conf
4. ssh_write connection=aliyun remotePath=/etc/nginx/conf.d/app.conf content="server { listen 80; ... }"
5. ssh_upload connection=aliyun localPath=./dist/index.html remotePath=/var/www/app/index.html
6. ssh_download connection=aliyun remotePath=/var/log/nginx/error.log
7. ssh_disconnect connection=aliyun