xgone/dsh-netshell0

@xgone/dsh-netshell

Remote SSH terminal for the DeepSeek Harness web UI: floating terminal panel, dangerous-command guard (open/guarded/locked), confirmation workflow, and model tools (netshell_servers / netshell_run). Passwords live in the DSH encrypted credential store and never pass through AI sessions.

AI Analysis

核心用途是让 Agent 或用户在 DSH 内安全地执行远程 SSH 操作。适合需要远程服务器运维、且要求密码与 AI 会话安全隔离的技术用户。

Package
@xgone/dsh-netshell
Version
0.2.0
License
MIT
Last updated
Sep 4, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xgone/dsh-netshell

数据与存储(为什么没有配置文件)

插件没有独立的配置项文件,这是刻意设计:

数据存放位置
服务器档案、权限等级、规则DSH 加密凭据库中的 netshell/profiles 记录
密码每台服务器一条独立凭据记录(NETSHELL_PW_)
终端会话插件进程内存(DSH 重启后会话断开,档案与密码不受影响)
主机指纹(known_hosts)插件私有文件 ~/.dsh/netshell/known_hosts,不写入手工 ssh 的 ~/.ssh/known_hosts

这样做的好处:加密落盘由宿主统一负责(权限 0600),备份 DSH 即备份全部配置,且密码天然隔离于 AI 会话之外。技术细节见 TECHNICAL.md 第 4 节。