Agent Skillsryantsai/KKTerm › ssh-troubleshooter

ssh-troubleshooter

GitHub

诊断 KKTerm 中 SSH 连接失败、tmux 恢复异常、主机密钥警告、认证错误及 SFTP 启动问题。通过区分连接类型,优先只读检查,按证据顺序解释原因,并严格遵循安全边界指导用户排查。

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

Trigger Scenarios

SSH 连接失败 tmux 会话恢复失败 主机密钥变更警告 SSH 认证错误 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

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
bcfe776
Hash
aa09da52
Indexed
2026-07-05 14:38

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-22 12:05
浙ICP备14020137号-1 $お客様$