Agent Skillsryantsai/KKTerm › ssh-troubleshooter

ssh-troubleshooter

GitHub

诊断 KKTerm 中 SSH 连接失败、tmux 恢复异常、主机密钥警告及认证错误等问题。通过只读检查定位原因,区分传输与会话故障,强调安全规范,避免泄露密钥。

assistant-skills/ssh-troubleshooter/SKILL.md ryantsai/KKTerm

Trigger Scenarios

SSH 连接或会话失败 tmux 恢复问题 SFTP 启动故障 主机密钥警告 认证错误

Install

npx skills add ryantsai/KKTerm --skill ssh-troubleshooter -g -y
More Options

Non-standard path

npx skills add https://github.com/ryantsai/KKTerm/tree/main/assistant-skills/ssh-troubleshooter -g -y

Use without installing

npx skills use ryantsai/KKTerm@ssh-troubleshooter

指定 Agent (Claude Code)

npx skills add ryantsai/KKTerm --skill ssh-troubleshooter -a claude-code -g -y

安装 repo 全部 skill

npx skills add ryantsai/KKTerm --all -g -y

预览 repo 内 skill

npx skills add ryantsai/KKTerm --list

SKILL.md

Frontmatter
{
    "name": "ssh-troubleshooter",
    "description": "Diagnose SSH Connection failures, tmux resume problems, host key warnings, authentication errors, ProxyJump issues, and SFTP-over-SSH startup problems in KKTerm."
}

SSH Troubleshooter

Use this skill when a user asks why an SSH Connection, SSH Session, tmux resume, or SFTP launch is failing.

Workflow

  1. Identify whether the user is talking about a stored Connection, a Quick Connect draft, or a live Session.
  2. Ask for the smallest missing fact only when the current context does not include it: host, port, auth method, proxy/jump path, or the visible error.
  3. Prefer read-only checks first: Connection settings, host reachability, DNS, known host status, auth method, and tmux session name/history settings.
  4. Explain likely causes in order of evidence, not in order of convenience.
  5. Suggest commands only when they are reviewable and scoped to the target host or local config file.
  6. For host key changes, treat the warning as security-sensitive. Do not tell the user to delete trust records until they confirm the host identity out of band.
  7. For auth failures, separate password, key file, agent, and keyboard-interactive paths. Do not ask the user to paste secrets into chat.
  8. For tmux issues, distinguish attach/resume failure from SSH transport failure.

KKTerm Boundaries

  • Stored resources are Connections, not profiles.
  • Live terminal state is a Session.
  • SFTP opens from an SSH Connection.
  • Secrets belong in the OS keychain, not chat or SQLite.
  • Native SSH uses KKTerm's NativeSsh transport; local Windows shells use ConPTY through the Pty transport.

Version History

  • b4e2eb1 Current 2026-07-05 14:38

Same Skill Collection

.agents/skills/develop-kkmod-modules/SKILL.md
assistant-skills/dashboard-data-visualization/SKILL.md
assistant-skills/dashboard-widget-builder/SKILL.md
assistant-skills/dashboard-widget-designer/SKILL.md
assistant-skills/desktop-accessibility-ui/SKILL.md
assistant-skills/dns-dhcp-troubleshooter/SKILL.md
assistant-skills/firewall-port-troubleshooter/SKILL.md
assistant-skills/network-connectivity-troubleshooter/SKILL.md
assistant-skills/remote-desktop-helper/SKILL.md
assistant-skills/sftp-transfer-helper/SKILL.md
assistant-skills/terminal-command-planner/SKILL.md
assistant-skills/tls-certificate-troubleshooter/SKILL.md

Metadata

Files
0
Version
b5dc6be
Hash
aa09da52
Indexed
2026-07-05 14:38

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-22 12:27
浙ICP备14020137号-1 $Carte des visiteurs$