Première chose à faire :
user@localhost:~# ssh-copy-id -i ~/.ssh/ssh_host_rsa_key.pub root@ip_du_vps
user@localhost:~# ssh root@ip_du_vps
root@vps:~# apt update -y
root@vps:~# apt upgrade -y
root@vps:~# apt install -y ufw
root@vps:~# ufw limit ssh
root@vps:~# ufw enable
root@vps:~# systemctl enable ufw