Skip to content
davila7 avatar

SSH Penetration Testing

Structured guide for SSH penetration testing covering discovery, enumeration, credential attacks, exploitation, tunneling, and post-exploitation.

CCM score
59 of 100
skills.sh installs
213
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the full SSH assessment flow: service discovery, banner and algorithm enumeration, configuration auditing, credential attacks, and tunneling
  • Includes command walkthroughs for Nmap, ssh-audit, Hydra, Medusa, Metasploit, and ssh -L, -R, -D, and -J forwarding
  • Identifies weak key exchange, cipher, and MAC configurations along with exposed private keys in common file locations
  • Designed for security practitioners who need a repeatable methodology for auditing SSH services on authorized targets

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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

Details

Repository
github.com/davila7/claude-code-templates
Category
Security
First seen
Jun 3, 2026

Questions

What does the SSH Penetration Testing skill do?

It guides a security assessment of SSH services, covering enumeration, credential attacks, vulnerability exploitation, tunneling and post-exploitation. It is triggered when the user asks to pentest SSH services, enumerate SSH configurations, or audit SSH security.

What tools does the SSH Penetration Testing skill need?

The skill expects Nmap with SSH scripts, Hydra or Medusa for brute-forcing, ssh-audit, Metasploit Framework, and Python with the Paramiko library. Users should also understand SSH key authentication, port forwarding and Linux command-line work.

How do I install the SSH Penetration Testing skill?

Run npx -y skills add davila7/claude-code-templates --skill 'SSH Penetration Testing' -y in a project. Once installed, the agent can walk through SSH testing methods such as brute-forcing credentials and setting up SSH tunnels.

Where does the SSH Penetration Testing skill fit in the Security category?

It is one of the skills in the Security category on Claude Marketplaces, alongside azure-compliance, security-audit and cloudflare-one. It focuses narrowly on SSH services rather than general cloud or application security.

More from davila7/claude-code-templates

All 398

Similar to SSH Penetration Testing

More Security