$BTC # System Update and Tool Installation

apt update && apt upgrade -y

apt install openssh hydra nano -y

# Setting a Password for the root User

echo "Choose a password for root (e.g., test123):"

passwd

# Starting the SSH Service

/etc/init.d/ssh start

# Creating a Password File for Testing

echo -e "1234\ntest123\npassword\nadmin" > passwords.txt

# Starting Hydra Test on the Local SSH Server

echo "Starting Hydra Test ..."

hydra -l root -P passwords.txt ssh://127.0.0.1