Preface¶
When developing agents with DeepSeek Harness (DSH), checking server status, handling process exceptions, and managing deployments often require switching to a terminal or opening separate panels. While the conversation happens within DSH, operational actions remain scattered outside, leading to context fragmentation. The following introduces the community plugin dsh-devops (npm package name @bigbigtooth/dsh-devops): it opens Remote Operations in the DSH Web sidebar, allowing you to manage SSH hosts, monitor hardware and processes, perform read-only log inspections with AI, and deploy Git repositories to target machines followed by service restarts—all within the same interface.
What is this¶
dsh-devops is a Web plugin for DeepSeek Harness, maintained by bigbigtooth. It is categorized under admin-security in the SkillHub directory. The README defines its positioning as: enabling remote operations and project deployment without leaving the chat view or opening a separate terminal.
The current npm version of the plugin is 0.5.0 (MIT License). The README badge indicates compatibility verification on DSH version 0.1.5-rc.2 and others. Before installation, please check the Compatibility section against your local DSH version.
Core Capabilities¶
Server Management¶
- Arbitrary SSH Servers: Add, delete, and modify any number of SSH servers. A real login test must be completed before saving, ensuring unattended remote command execution is possible.
- Host Fingerprinting: The first connection validates and saves the host fingerprint; connections are suspended if the fingerprint changes.
- Isolated SSH Config: Uses plugin-private SSH configuration, isolated from system and user-level
~/.ssh. Supports private keys and jump hosts (bastion servers). - Cross-Platform: Covers Linux (no distribution whitelist) and macOS. Capabilities are marked as available / limited / unavailable with reasons if insufficient.
Monitoring & Read-Only AI Inspection¶
- Hardware: CPU, memory, and disk usage. Supports on-demand collection or scheduled collection (default 60s).
- Processes: No per-process configuration required; enumerates running processes and groups them by project and service. AI performs batch analysis of resource and status anomalies, identifies specific processes and causes, and transparently displays analysis coverage (partial analysis is not disguised as “all clear”).
- Logs: Dynamic discovery of sources along the path Project → Service → Log File (e.g., reading Supervisor’s actual effective configuration). Incremental reading with dedup alerts. AI provides log levels, summaries, and locatable evidence.
- Server-Side Execution: Closing the browser does not interrupt inspection; inspection plans resume after a DSH restart without accumulating compensation tasks.
README Emphasis: Inspection is always read-only—AI only analyzes and suggests; it does not repair or restart anything on its own. This boundary is enforced by the tool permission structure, not just prompts.
Project Deployment & Deploy Loop¶
The deployment closed-loop is a core feature described by the plugin:
- First AI Deployment: Select Git repository, branch, and target server. AI performs environment checks, dependency installation, building, service startup, and health verification via SSH.
- Script Solidification: After success, reusable steps are frozen into versioned
.shscripts (candidate → verified → invalidated, hash-protected against tampering), distinguishing one-time environment setup from daily updates. - One-Click Update: Subsequent deployments execute
git pull --ff-only(fast-forward only) on the server. Frozen steps run scripts; non-frozen steps fall back to AI. Failures trigger AI-assisted repair by default before retrying (default 2 rounds).
Other deployment-related behaviors (from README): Dirty workspaces, branch inconsistencies, or remote forks will stop and report, never auto-overwriting. No dangerous bulk rollbacks. Tasks are fully persisted; interrupted tasks must be aligned with actual remote status before resuming.
Security Design (Summary)¶
- Credentials (passwords, private keys, passphrases) are stored encrypted with AES-256-GCM, with key material separated from configuration.
- Secrets are redacted before display, persistence, or entering AI context; passwords do not enter command lines, scripts, or logs.
- Remote commands undergo whitelist parsing; RPCs go through authenticated host channels; the API layer validates payloads with zod.
- No install scripts, no telemetry; the plugin itself does not hold model API Keys. Local file read scope is limited to the data directory (default
~/.dsh-devops) and the host storage domaindsh_devops, excluding~/.sshand shell history. For full details, see the repository’s SAFETY.md.
Installation & Activation¶
Environment Requirements¶
- A DSH Web host supporting the
dsh pluginmechanism. - A local SSH client capable of connecting to target servers.
- Set
DSH_DEVOPS_KEY_FILEbefore saving any credentials (see “Three Common Pitfalls” below).
Installation Command¶
Install via pre-built package, no local compilation required:
# Recommended: npm, no build approval needed
dsh plugin --profile web add @bigbigtooth/dsh-devops
Or use the release page tarball:
dsh plugin --profile web add https://github.com/bigbigtooth/DSH-DevOps-Plugin/releases/latest/download/dsh-devops-latest.tgz
After installation, you must restart the DSH host—the plugin bundle loads at startup, and plugin add only writes the manifest:
pkill -f '\.bin/dsh --profile web'
sleep 2
nohup ~/.dsh/tooling/node_modules/.bin/dsh --profile web >> /tmp/dsh-web.log 2>&1 &
After restarting, Remote Operations will appear at the bottom of the DSH sidebar (above Settings). Click into the operations panel; you can use “Back to conversation” to return to the chat at any time.
For headless environments, replace --profile web with --profile headless: The UI only exists in the web profile; inspection and deployment work in both profiles.
Three Common Pitfalls¶
- Set the Key File First. If
DSH_DEVOPS_KEY_FILEis not set, the plugin uses an in-memory key that regenerates on every host restart, rendering stored credentials undecryptable:
export DSH_DEVOPS_KEY_FILE="$HOME/.dsh-devops/master.key"
The key file is written with `0600` permissions; **losing the key file means credentials cannot be recovered**.
- Reinstalling the same version is ineffective. pnpm may serve the same
file:spec from cache. You need to remove it before adding it again:
dsh plugin --profile web remove @bigbigtooth/dsh-devops
dsh plugin --profile web add @bigbigtooth/dsh-devops
- Remember to restart the host (see above).
Typical Usage (UI Flow)¶
The README does not provide independent CLI subcommands for operations; actual operations are performed in the Remote Operations panel. You can understand the flow in this order:
- Remote Operations → Add an SSH server, complete the login test, and save.
- View hardware trends and process groupings; trigger read-only AI analysis of processes and logs on-demand or via schedule.
- Projects: Configure multiple projects, repositories, and deployment targets; configure and validate SSH, Git credentials, and privilege escalation separately.
- First Deployment: Select repository, branch, and target machine, trigger AI-orchestrated deployment with one click; freeze steps into scripts after success.
- Subsequent Updates: One-click update follows a combined flow of
git pull --ff-onlyand solidified scripts / AI fallback.
The repository’s docs/images/ folder contains screenshots for server overviews, hardware monitoring, process and project lists, etc., which can be compared with the panel.
Applicability & Notes¶
Suitable for: Developers or small teams already using DSH Web who need to consolidate SSH host management, basic monitoring, read-only AI inspection, and Git deployment into a single workflow.
Notes:
- The plugin runs under the permissions of the current DSH process. Before installation, read the source code and SAFETY.md to confirm that the license (MIT) and the boundaries for local files and remote commands comply with your security policy.
- SkillHub (Plugin Directory Page) is a community plugin index and has no official affiliation with DeepSeek / High-Flyer. “Everything is a plugin” is a common practice in the DSH ecosystem; this article introduces the community-maintained @bigbigtooth/dsh-devops, not a built-in DSH capability.
- Deployment and inspection execute commands remotely via SSH; the permission boundary between read-only inspection and writable deployment is based on the plugin tool design. Do not assume AI will automatically modify configurations in production environments.
Conclusion¶
dsh-devops integrates SSH server management, hardware/process/log monitoring, read-only AI inspection, and the Git-to-server deployment loop into DSH Web, reducing the need to switch back and forth between chat and terminal. Set DSH_DEVOPS_KEY_FILE before installation, use the official dsh plugin --profile web add command, and restart the host to enable it.