Repository navigation
DSH|Remote SSH|原生远程工作区,支持 SSH/SFTP、Agent 工具与 Jupyter Notebook 预览 #13731
WeipengMO
started this conversation in
Show Your Plugins!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
项目地址: https://github.com/WeipengMO/dsh-plugin-remote-ssh
npm: https://www.npmjs.com/package/dsh-plugin-remote-ssh
当前正式版:v1.2.0
为什么开发这个插件?
我日常使用 Windows/macOS 上的 DSH,但项目代码、数据和计算环境主要放在远程 Linux 服务器上。
希望像 VS Code Remote SSH 一样,直接把远端目录当作 DSH 工作区使用,而不是每次都手动 SSH 登录、同步文件,或者在服务器上重新部署一套 DSH。
因此开发了这个插件。
核心思路是让远程 Linux 项目直接融入 DSH 现有的工作区和 Agent 工具流程。 远端只需要 SSH/SFTP,不需要额外安装 DSH,也不需要把整个项目同步到本地。
主要功能
1. SSH 主机与远程工作区
~/.ssh/config导入配置。2. 与 DSH Agent 工具集成
远程项目可以使用 DSH 文件工具进行
read、write、edit、glob、grep等操作。同时提供
remote_bash用于执行远端 Bash 命令,默认需要审批。Read-only 会话不允许执行远程命令。3. Jupyter Notebook Viewer
这是我比较喜欢的功能。
可以直接在 DSH 文件树中打开本地或远程
.ipynb文件,支持:界面预览
安装
插件已发布到 npm,可通过 DSH 原生插件管理器安装。
Windows / macOS Desktop:
Linux Web Host:
安装前请停止对应的 DSH Host,安装完成后重新启动。
随后打开:
设置 → Remote SSH → 添加主机再从「新建项目 → 源文件夹 → Remote SSH」选择远程目录即可。
详细安装说明、兼容性要求和排障文档请参考项目 README。
安全与限制
插件遵循 DSH 的权限审批机制,远程 Bash 默认需要审批,并提供 SSH Host Key 校验。
项目 CI 包含自动化测试、ClamAV 扫描、依赖安全审计与 Gitleaks 密钥扫描。这些是自动化检查,不代表第三方安全认证。
需要说明的是,当前方案主要通过 SSH/SFTP 对接远端工作区,并不是在远端启动完整的 DSH Agent Host。部分原生终端、Git 能力仍受到 DSH Host API 限制。
English summary
DSH Remote SSH brings remote Linux workspaces into DeepSeek Harness through SSH/SFTP, with Agent file operations, approval-gated remote Bash, Git status integration, and a read-only Jupyter Notebook Viewer.
No additional DSH installation or full repository synchronization is required on the remote server.
Open source under the MIT License.
Repository: https://github.com/WeipengMO/dsh-plugin-remote-ssh
All reactions