yybai25/dsh-ssh-desktop--packages-server-plugin ↗★ 0

dsh-desktop-link

Server-side companion of dsh-ssh-desktop: handshake, a lease that stops this DSH when the desktop that started it is gone (under its 'stop on exit' policy), a finished-task feed for desktop notifications, and an 'open in VS Code' header button. Inert unless that desktop started the process or shows the page. 适合使用DSH-SSH-Desktop并需要通知及自动停止服务的用户。

패키지
dsh-desktop-link
호환성
미검증
버전
0.2.0
라이선스
MIT
최근 업데이트
2026. 9. 30.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yybai25/dsh-ssh-desktop#285d4bc60dcd959507f1cb9e9626f847b3684495&path:packages/server-plugin

使用

  1. 打开应用,在「应用 → 连接管理 → 添加服务器」里填写 ssh 别名和服务器上的工作目录,然后保存。
  2. 点「连接」。第一次启动远端 DSH 通常要 1–3 分钟,之后再连接会直接复用,只需几秒。
  3. 连接后,窗口里的操作和在浏览器里用 DSH 完全一样。窗口左上角的「应用」菜单可以切换服务器、打开连接管理、测试通知。
  4. 点窗口右上角的 × 不会退出,只会收起到任务栏右下角的通知区域(托盘):连接照常保持,任务完成照常通知。单击托盘图标可以重新打开窗口;要真正退出,在托盘图标的右键菜单或「应用」菜单里选「退出」。

退出应用时

在每台服务器的「连接设置」里选择:

  • 保持远端运行(默认):服务器上的 DSH 继续运行,下次打开应用直接接上,正在跑的任务不受影响。
  • 停止远端:正常退出时停止服务器上的 DSH。如果应用被强制结束、崩溃或长时间断网,远端会在约 10 分钟后自行停止。这需要服务器上装有配套插件。