davila7 avatar

SSH Penetration Testing

This is a comprehensive SSH security testing workflow that walks you through the full penetration testing methodology, from initial enumeration with Nmap and ssh-audit to credential attacks with Hydra, then exploitation and post-compromise activities. It assumes you've got the standard toolkit installed (Metasploit, Paramiko, the usual suspects). Honestly, it's more of a structured checklist than automation, which makes sense for this type of work where you need to understand what you're doing at each step. If you're learning SSH pentesting or want a systematic approach to auditing SSH services, this gives you the roadmap. Just remember this is educational and authorized testing only, the legal disclaimers matter here.

GitHub stars
30.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill 'SSH Penetration Testing' --agent claude-code

Installs into .claude/skills of the current project.

Files

SSH Penetration Testing

Purpose

Conduct comprehensive SSH security assessments including enumeration, credential attacks, vulnerability exploitation, tunneling techniques, and post-exploitation activities. This skill covers the complete methodology for testing SSH service security.

Prerequisites

Required Tools

  • Nmap with SSH scripts
  • Hydra or Medusa for brute-forcing
  • ssh-audit for configuration analysis
  • Metasploit Framework
  • Python with Paramiko library

Required Knowledge

  • SSH protocol fundamentals
  • Public/private key authentication
  • Port forwarding concepts
  • Linux command-line proficiency

Outputs and Deliverables

  1. SSH Enumeration Report - Versions, algorithms, configurations
  2. Credential Assessment - Weak passwords, default credentials
  3. Vulnerability Assessment - Known CVEs, misconfigurations
  4. Tunnel Documentation - Port forwarding configurations

Core Workflow

Phase 1: SSH Service Discovery

Identify SSH services on target networks:

# Quick SSH port scan
nmap -p 22 192.168.1.0/24 --open

# Common alternate SSH ports
nmap -p 22,2222,22222,2200 192.168.1.100

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Testing & QA, Security
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1davila7 avatarWordPress Penetration Testingdavila7/claude-code-templatesThis skill should be used when the user asks to "pentest WordPress sites", "scan WordPress for vulnerabilities", "enumerate WordPress users, themes, or plugins"0skills.sh installs
2gpt-cmdr avatarqa_review_triple-modelgpt-cmdr/ras-commander|0skills.sh installs
3hmislk avatardeploy-qahmislk/hmis>0skills.sh installs
4hoangnguyen0403 avatarbattle-testhoangnguyen0403/agent-skills-standardDeep audit of a skills directory against the Skill Creator standard. Produces a scored report and phased remediation plan.0skills.sh installs
5hoangnguyen0403 avatarsecurity-testhoangnguyen0403/agent-skills-standardFast, continuous DevSecOps pipeline for Pull Requests and active branches. Runs SAST, SCA, and secrets detection to catch vulnerabilities before they merge.0skills.sh installs
6microsoft avatarplaywright-rollmicrosoft/playwright-pythonRoll Playwright Python to a new version0skills.sh installs