Skip to main content
SSH (Secure Shell) typically runs on port 22.
If we try to log in to SSH, even once, while it is under exploitation, it will be noticed as an exploitation. Do not log in to SSH during active exploitation.

Version detection

Connect to old SSH

With some old SSH versions we have to select the type of encryption and the cipher, as shown in the picture below. We first log in and get the supported encryption, then log in again to get the cipher. Old SSH cipher selection

Steps

SSH enumeration steps