ssh-mcp-helper

ssh-mcp-helper is a skill for Claude Code, Codex from classfang/ssh-mcp-server. It costs 110 tokens per session (2,757 once invoked), scanned A, original, ISC.

A setup guide for connecting an AI coding client to remote computers through SSH, a standard way to securely log in to another machine.

In plain words
What is it for?
It helps install or configure an SSH MCP server, choose authentication and transport settings, restrict commands, generate configuration, and add it to supported clients.
Why use it?
It gathers the connection and security settings needed for the setup and reduces errors when adding remote hosts to the client's configuration.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Good fit It helps install or configure an SSH MCP server, choose authentication and transport settings, restrict commands, generate configuration, and add it to supported clients.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/classfang/ssh-mcp-server/ssh-mcp-helper
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add classfang/ssh-mcp-server --skill ssh-mcp-helper
Clone the repo
git clone --depth 1 https://github.com/classfang/ssh-mcp-server

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ssh-mcp-helper

README.md
[![agentmods](https://agentmods.dev/badge/skills/classfang/ssh-mcp-server/ssh-mcp-helper/github.svg)](https://agentmods.dev/skills/classfang/ssh-mcp-server/ssh-mcp-helper)
Your own site
<a href="https://agentmods.dev/skills/classfang/ssh-mcp-server/ssh-mcp-helper"><img src="https://agentmods.dev/badge/skills/classfang/ssh-mcp-server/ssh-mcp-helper/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ssh-mcp-helper

Your own site · 80×15
<a href="https://agentmods.dev/skills/classfang/ssh-mcp-server/ssh-mcp-helper"><img src="https://agentmods.dev/badge/skills/classfang/ssh-mcp-server/ssh-mcp-helper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,757 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Privilege Escalation · line 120
    Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
    Fix: Avoid sudo/root unless strictly required. Prefer least-privilege patterns. If elevation is needed, document the justification and scope.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00110 $0.02757
Opus 5.5 $0.00044 $0.01103
Sonnet 5.5 $0.00022 $0.00551
Haiku 4.5 $0.00011 $0.00276

Measured 6d ago against content hash eadf24c33ed4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ssh-mcp-helper scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

skills/ssh-mcp-helper/SKILL.md · 190 lines

How it starts

The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ssh-mcp-helper

概述

帮助用户通过交互式问答完成 @fangjunjie/ssh-mcp-server 的安装预检与 MCP 客户端配置。技能本身不代替用户输入凭据,而是逐项确认认证方式、连接参数与安全策略,最终产出可直接写入 MCP 客户端配置文件的 mcpServers JSON 片段。

核心准则: 所有可枚举的选项(MCP 客户端类型、认证方式、传输模式、是/否开关)必须使用 AskUserQuestion 让用户选择;只有不可枚举的输入(host、用户名、私钥路径、密码、自定义白名单正则等)才允许自由文本提问。

何时使用

  • 用户明确要安装/配置/新增 ssh-mcp-server
  • 用户提到为 Cursor / Claude Code / Cline / Continue 等客户端添加 SSH MCP
  • 用户希望在已有 mcpServers 中追加一台 SSH 主机
  • 用户问「ssh-mcp-server 的 mcp.json 怎么写」

何时不使用

  • 用户要修改 ssh-mcp-server 源码 → 直接编辑代码,不进入向导
  • 用户只是想跑某条 SSH 命令 → 直接调用已存在的 ssh-mcp-server 工具
  • 用户在问 SSH 协议本身的概念 → 解释即可,无需走流程

工作流程

digraph ssh_mcp_helper {
    "0. 前置环境检查" [shape=box];
    "1. 选择 MCP 客户端" [shape=box];
    "2. 单台 vs 多台" [shape=diamond];
    "3. 选择认证方式" [shape=box];
    "4. 询问连接参数" [shape=box];
    "5. 询问高级选项" [shape=box];
    "6. 生成 JSON 片段" [shape=box];
    "7. 合并写入配置" [shape=box];
    "8. 提示重启与验证" [shape=doublecircle];

    "0. 前置环境检查" -> "1. 选择 MCP 客户端";
    "1. 选择 MCP 客户端" -> "2. 单台 vs 多台";
    "2. 单台 vs 多台" -> "3. 选择认证方式" [label="单台"];
    "2. 单台 vs 多台" -> "3. 选择认证方式" [label="多台 → 写 ssh-config.json"];
    "3. 选择认证方式" -> "4. 询问连接参数";
    "4. 询问连接参数" -> "5. 询问高级选项";
    "5. 询问高级选项" -> "6. 生成 JSON 片段";
    "6. 生成 JSON 片段" -> "7. 合并写入配置";
    "7. 合并写入配置" -> "8. 提示重启与验证";
}

Step 0:前置环境检查

  • 运行 node -v 与 npx --version 确认本机有 Node.js(推荐 v18+)
  • 缺失则先提示用户安装 Node.js,再继续后续步骤

Step 1:选择 MCP 客户端(AskUserQuestion 多选一)

客户端 默认配置位置
Claude Code(全局) ~/.claude.json 的 mcpServers 字段
Claude Code(项目级) 项目根 .mcp.json
Cursor ~/.cursor/mcp.json
Cline / Continue / 其他 让用户提供具体路径

Step 2:单台 vs 多台(AskUserQuestion 二选一)

  • 单台:直接使用命令行参数(--host 等)
  • 多台:生成 ssh-config.json 并使用 --config-file

Step 3:选择认证方式(AskUserQuestion 多选一)

  • password — 账号 + 密码
  • privateKey — 账号 + 私钥;再用 AskUserQuestion 确认是否带 passphrase
  • ssh-config — 复用 ~/.ssh/config 中的 Host 别名(只需 --host <alias>,可选 --ssh-config-file)
  • ssh-agent — 使用 --agent 指向 socket
  • 2fa — 密码 + 私钥 + 键盘交互,追加 --try-keyboard

Read the full file on GitHub · 190 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago Changed · +23 lines eadf24c33ed4
  2. 1mo ago Changed b0af3967a45f
  3. 1mo ago First seen · 167 lines · 110 tokens per session scan A f93a31bf4fd1

Subscribe to this mod's changes

ssh-mcp-helper is a skill published in the GitHub repository classfang/ssh-mcp-server (969 stars, last pushed 7d ago), licensed ISC. It adds 110 tokens to every session and 2,757 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

gke-compute-classes

Configures, optimizes, and troubleshoots GKE ComputeClasses. Use when configuring Spot VMs with on-demand fallback, targeting specific accelerators (GPUs/TPUs) or machine families, restricting ComputeClass access, or debugging pending pods related to node pool auto-creation. Do not use for cluster-level Node Auto…

google/skills · 83 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running security audits (auditcluster.sh), enforcing Network Policies (default-deny and Dataplane V2 logging), isolating high-risk pods inside GKE Sandbox (gVisor), enforcing Pod…

google/skills · 171 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for generating K8s YAML manifests (use gke-manifest-generation) or disaster recovery…

google/skills · 85 tokens

cloud-architect

Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…

Jeffallan/claude-skills · 71 tokens

nemo-automodel-launcher-config

Configure NeMo AutoModel job launches for interactive runs, Slurm clusters, and SkyPilot cloud execution.

NVIDIA/skills · 30 tokens

azure-mgmt-botservice-dotnet

Azure Resource Manager SDK for Bot Service in .NET. Management plane operations for creating and managing Azure Bot resources, channels (Teams, DirectLine, Slack), and connection settings. Triggers: "Bot Service", "BotResource", "Azure Bot", "DirectLine channel", "Teams channel", "bot management .NET", "create bot".

microsoft/skills · 78 tokens