dshbase

插件目录 / Developer / deepseek-harness-remote-ssh

deepseek-harness-remote-ssh

未验证 NaNQiQ

✓ 持续维护 基于 21 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

2Stars
0Forks
0未关闭 issue
语言
2026-08-24最近推送
跨平台平台

功能简介

让 DeepSeek Harness(DSH) 使用原生工具直接操作远程 Linux 服务器,自由切换服务器

我们的评价
未验证 — 尚未实测

让 DeepSeek Harness(DSH) 使用原生工具直接操作远程 Linux 服务器,自由切换服务器 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

DSH Remote SSH

English | 简体中文

DSH Plugin
Release
Node.js 24+
Remote SSH
License: MIT

Use the native DeepSeek Harness (DSH) tools directly on remote Linux servers.

Select a saved server next to the conversation composer and DSH's existing read / write / edit / glob / grep / bash / terminal tools run remotely. The plugin does not modify DSH source code, and the server does not need DSH, this plugin, Node.js, or Python installed.

Features

  • Add, test, manage, and select SSH servers inside the DSH Web UI.
  • Switch the execution environment between the local computer and saved servers.
  • Keep the official DSH tools instead of adding reduced ssh_* replacements.
  • Use SFTP for files, SSH exec / Shell for commands, and SSH PTY for interactive terminals.
  • Preserve native glob / grep behavior while resolving and caching ripgrep for the remote Linux host.
  • Authenticate with SSH Agent, a private-key file, or a temporary password.
  • Verify SSH Host Key fingerprints on first connection and reject unexpected changes.
  • Reuse connections maintained by the DSH Host instead of logging in for every message.

Install

Requires Node.js 24 or newer, with dsh and pnpm available on PATH.

dsh plugin --profile web add github:NaNQiQ/deepseek-harness-remote-ssh
dsh web

If Windows cannot find pnpm, run npm install -g pnpm@11 in CMD and reopen CMD.

Use

  1. Start dsh web.
  2. Open the execution-environment selector next to the composer.
  3. Select Add server.
  4. Enter the connection, authentication, and default working-directory settings.
  5. Follow the built-in authentication guide and verify the server fingerprint.
  6. Select Test and save.
  7. Select the saved server next to the composer.

For later conversations, simply select the saved server. The model continues to use official DSH tools; only the location behind those tools changes.

Screenshots

Add and configure an SSH server

Add and configure an SSH server

Switch between local and remote execution environments

Switch execution environment

Use native DSH tools on the remote server

Remote server execution result

Architecture

flowchart TB
    M[Model]
    T[Official DSH tools<br/>read · write · edit · glob · grep · bash · terminal]
    I[Official DSH execution interfaces<br/>ctx.fs · ctx.subprocess · ctx.shell · ctx.terminals]

    M --> T --> I

    subgraph W[Execution World]
        direction LR

        subgraph L[Local]
            LP[Native DSH providers]
            LOS[Local operating system]
            LP --> LOS
        end

        subgraph R[Remote SSH]
            RP[DSH Remote SSH providers]
            FS[SFTP<br/>remote filesystem]
            EX[SSH exec<br/>processes / shell]
            PTY[SSH PTY<br/>interactive terminal]
            RG[Official glob / grep arguments<br/>remote Linux ripgrep]

            RP --> FS
            RP --> EX
            RP --> PTY
            RP --> RG
        end
    end

    I --> LP
    I --> RP
Native DSH @ Linux
        ≈
DSH @ local computer + DSH Remote SSH → the same Linux host

The plugin changes where DSH executes, not how the model uses DSH tools. See ARCHITECTURE.md for implementation details.

Authentication

Method Behavior
SSH Agent Requests signatures without reading private-key contents or enabling Agent Forwarding; suited to personal desktops
Private-key file Persists only the path and reads the file when connecting; suited to dedicated accounts or server deployments
Temporary password Kept only in current DSH Host process memory and must be entered again after restart

Remote requirements and security boundary

  • The target is a Linux / Unix host with SSH, SFTP, and a POSIX shell.
  • Each server can define a default working directory; it is the initial cwd, not a path sandbox.
  • Effective access equals the permissions of the remote SSH account.
  • The Remote Provider does not expose the DSH Host's local filesystem to the remote execution world.
  • Model API keys and Base URLs remain managed by DSH; this plugin does not read or store them.

See SECURITY.md for details.

Update and remove

dsh plugin --profile web update dsh-remote-ssh
dsh plugin --profile web remove dsh-remote-ssh

Restart DSH after updating or removing the plugin.

Documentation

Related project

Friends

LINUX DO

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 deepseek-harness-remote-ssh」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:NaNQiQ/deepseek-harness-remote-ssh

Headless(CLI)profile:

dsh plugin --profile headless add github:NaNQiQ/deepseek-harness-remote-ssh

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-25 · 标记 webonly
备注:验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →