Skip to content
SSH
Service

SSH

SSH remote access protocol. Attackers target banners, auth methods, weak keys, legacy crypto, misconfigs, and CVEs, then pivot via agent forwarding, tunneling, and key reuse for persistence and exfil

:22 25 guides 7 phases
1 min read Created: Dec 28, 2025 Updated: Jul 14, 2026

SSH (Secure Shell) runs on TCP port 22 and provides encrypted remote access to systems. Nmap identifies it as ssh. Banner grabbing reveals the SSH server software and version, which helps narrow down the OS and potential vulnerabilities.

SSH itself is well-designed, but weak credentials, key reuse, and misconfigured access controls are frequent findings. Older versions of OpenSSH and Dropbear have known exploits. Passwordless root login or overly permissive authorized_keys files can give direct shell access.

Enumerate the server version, supported authentication methods, and key exchange algorithms. Try common credential pairs and check for username enumeration (CVE-2018-15473 in older OpenSSH). If keys are found elsewhere on the target, test them here.

Enumeration

SSH banners, algorithms, auth methods, keys, and user enum guides

6
SSH Authentication Method Enumeration

SSH Authentication Method Enumeration

Enumerate supported SSH authentication methods (password, publickey, keyboard-interactive) to identify weak or misconfigured auth vectors.

Jan 3, 2026 • 4 min read
SSH Banner and Version Enumeration

SSH Banner and Version Enumeration

Identify SSH server versions and banners using active probing techniques to fingerprint targets and uncover potentially vulnerable daemon versions.

Jan 3, 2026 • 2 min read
SSH Host Key Fingerprinting and Key Reuse

SSH Host Key Fingerprinting and Key Reuse

Covers SSH host key fingerprint extraction, cross-host key reuse detection, and identifying misconfigurations that reveal infrastructure relationships.

Jan 3, 2026 • 2 min read
SSH User Enumeration

SSH User Enumeration

Detect valid system usernames via SSH timing attacks and error-based responses using tools like Metasploit, ssh-audit, and custom timing scripts.

Mar 16, 2026 • 2 min read

Vulnerability Discovery

Guides on finding weak SSH configs and version-based CVEs

2
SSH Version-Based Vulnerability Check

SSH Version-Based Vulnerability Check

Identify outdated or vulnerable SSH server versions by analysing banner responses to detect unpatched daemons susceptible to known CVEs.

Mar 16, 2026 • 3 min read
SSH Weak Authentication Configuration

SSH Weak Authentication Configuration

Identifies SSH servers misconfigured with weak authentication methods, including password auth, empty passwords, and deprecated key algorithms.

Mar 16, 2026 • 4 min read

Exploitation

Guides for SSH auth attacks, key testing, and legacy crypto access

6
SSH Auth Attack Surface Discovery

SSH Auth Attack Surface Discovery

Enumerate SSH authentication methods, identify misconfigurations, and exploit weaknesses including key-based auth flaws, agent forwarding abuse, and brute-force vectors.

Jan 3, 2026 • 2 min read
SSH Key-Based Authentication Testing

SSH Key-Based Authentication Testing

Techniques for testing SSH key-based auth mechanisms, identifying weak keys, misconfigurations, and exploiting improper key trust relationships during penetration testing.

Jan 3, 2026 • 3 min read
SSH Legacy Crypto Login Compatibility

SSH Legacy Crypto Login Compatibility

Exploiting SSH servers using legacy crypto algorithms by configuring deprecated ciphers, KEX methods, and host key types to gain access to outdated systems.

Jan 3, 2026 • 4 min read
SSH Password Credential Attacks

SSH Password Credential Attacks

Covers brute-forcing and credential stuffing SSH logins using tools like Hydra and Medusa to gain unauthorized shell access via weak or default passwords.

Jan 3, 2026 • 3 min read
SSH Terrapin Attack (CVE-2023-48795)

SSH Terrapin Attack (CVE-2023-48795)

Exploiting the Terrapin attack to downgrade SSH session security by manipulating sequence numbers during handshake negotiation.

Mar 16, 2026 • 9 min read
SSH User Enumeration Exploitation

SSH User Enumeration Exploitation

Exploit SSH user enumeration vulnerabilities to identify valid system accounts via timing attacks and response analysis, enabling targeted credential attacks.

Mar 16, 2026 • 3 min read

Post-Exploitation

SSH keys, agents, configs, and backdoor auditing guides

4
SSH Agent Socket Discovery

SSH Agent Socket Discovery

Identifies active SSH agent sockets on compromised hosts to hijack authentication credentials and pivot laterally using delegated key access.

Mar 16, 2026 • 3 min read
SSH Config and Known Hosts Enumeration

SSH Config and Known Hosts Enumeration

Enumerate SSH client configs and known_hosts files to map trusted relationships, pivot targets, and credential reuse opportunities across the network.

Mar 16, 2026 • 3 min read

Lateral Movement

SSH pivoting via keys, agents, credential reuse, and tunneling

4
SSH Credential Reuse Validation

SSH Credential Reuse Validation

Validates reused SSH credentials across internal hosts to identify lateral movement paths via password/key reuse in networked environments.

Jan 3, 2026 • 3 min read
SSH Lateral Movement with Harvested Keys

SSH Lateral Movement with Harvested Keys

Techniques for moving laterally through networks using harvested SSH private keys, covering key discovery, agent hijacking, and hop chaining.

Mar 16, 2026 • 4 min read
SSH Port Forwarding and Tunneling

SSH Port Forwarding and Tunneling

Leverage SSH tunneling techniques to pivot through networks, forward ports, and bypass firewall restrictions during lateral movement operations.

Mar 16, 2026 • 4 min read

Persistence

Guides on maintaining SSH access after initial compromise

1
SSH Persistence Techniques

SSH Persistence Techniques

Explores SSH-based persistence methods including authorized_keys manipulation, config backdoors, and rogue SSH daemons to maintain long-term access.

May 6, 2026 • 6 min read

Data Exfiltration

SSH and SCP data transfer, tunneling, and timing tactics

2
Data Exfiltration over SSH and SCP

Data Exfiltration over SSH and SCP

Covers tunneling sensitive data out of compromised systems via SSH port forwarding and SCP transfers, evading detection through encrypted channels.

Mar 16, 2026 • 2 min read
SSH Tunneled Exfiltration

SSH Tunneled Exfiltration

Covers covert data exfiltration via SSH tunneling, exploiting encrypted channels to bypass DLP controls and exfiltrate sensitive data undetected.

Mar 16, 2026 • 3 min read