Any machine reachable from the internet gets scanned within minutes. Keep it updated, allow only the ports you need, and turn off password logins once your SSH key works.
sudo apt install ufw unattended-upgrades sudo ufw allow OpenSSH sudo ufw allow 443/tcp sudo ufw enable sudo ufw status verbose # In /etc/ssh/sshd_config set: # PasswordAuthentication no # PermitRootLogin no sudo systemctl restart ssh