dsh-ssh-ops: An SSH Operations Plugin for DeepSeek Harness, Driving Remote Servers from the Main Conversation

caoyiwei850/dsh-ssh-ops

Tools & CapabilitiesVerified
Listed on 2026-08-20
Page last updated 2026-09-29

A DSH plugin that drives SSH ops from the main conversation, with a live right-side terminal, file management, port forwarding, and database management, plus high-risk command protection.

dsh-ssh-ops is an SSH operations plugin for DeepSeek Harness that lets you command remote servers directly from the main conversation while keeping a real interactive terminal on the right. It includes high-risk command protection, host-key TOFU verification, auto-reconnect, and secret redaction, plus panels for files (SFTP), port forwarding, and database management. With it, you can stop switching windows and typing commands by hand—servers, files, tunnels, and databases are all handled inside DSH, ideal for daily ops and development debugging.

How to Install

install
npmdsh plugin --profile web add dsh-ssh-ops
Category
Tools & Capabilities
Platform
DSH Plugin
Author
caoyiwei850
Distribution
Plugin

dsh-ssh-ops Key Features

Drive SSH from chatLive right-side terminalHigh-risk command guardFiles, tunnels, databases
Listed on dsh-plugin.org

dsh-ssh-ops Repo Summary

What Does It Do?

DSH SSH Ops is a DSH plugin for DeepSeek Harness that lets you drive remote servers from the main conversation while keeping a real interactive terminal on the right. It solves the hassle of switching windows and manually running commands without safety guards, letting you manage servers, files, port forwarding, and databases directly inside the harness. Core capabilities include high-risk command protection, host-key verification (TOFU), auto-reconnect, and secret redaction. It is maintained by caoyiwei850 under the MIT license.

Core Features

  • Main-conversation SSH: run commands via ssh_exec, with output, exit code, duration, timeout, and truncation status returned to the conversation; commands are echoed in the right-side terminal.
  • High-risk command protection: built-in detection and blocking of dangerous commands to prevent accidental damage.
  • File management: browse the server filesystem over SFTP with upload, download, mkdir, delete, and rename; sftp_* tools are also available in the conversation.
  • Port forwarding: start local and remote forwards with a live tunnel list and stop control; tunnel_* tools can be used directly.
  • Database management: connect to MySQL, PostgreSQL, Redis, and MongoDB, run SQL or commands, and view results in a table; db_* tools support auto-tunneling over SSH to reach intranet databases.
  • Connection stability: keepalive (20s interval, 3 checks) prevents idle drops; exponential-backoff auto-reconnect (capped at 30s) with transparent retry for mid-run drops.

How to Use This Plugin?

After enabling it in DSH, add servers and groups under Settings → Plugins → SSH Resources, configuring name, address, port, username, auth type, and group. Once connected, the main conversation auto-detects the current server without asking for an internal connection ID. You can issue commands directly in the conversation or use the right-side terminal manually; the Files, Tunnels, and Database tabs provide graphical operations. Secrets (passwords, private keys, passphrases) are stored only in DSH's official local credentials store, never in browser storage or conversation context.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: caoyiwei850/dsh-ssh-ops. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub

DSH Plugin FAQ