Install and configure fail2ban to protect SSH access and test it using simulated login attempts.