Welcome to Ubuntu!
After logging in as root, your first task is to update the system repositories and packages.
root
apt update apt upgrade -y
If a kernel update is installed, you should reboot:
reboot
Ubuntu uses UFW (Uncomplicated Firewall).Allow SSH first: ufw allow ssh (or allow 22/tcp).Allow...
Protect SSH from brute force attacks.apt install fail2ban -yStart the service:systemctl start...
1. Disable Root LoginEdit config: nano /etc/ssh/sshd_configFind PermitRootLogin and set to no.2....