To turn on UFW,
sudo ufw allow 22
sudo ufw enable
sudo ufw status
sudo systemctl enable ufw
sudo …
sudo apt update #update repositories
sudo apt install -f #fix broken packages
sudo apt upgrade -y …
This has been converted to a tutorial and moved here
password="1YelloDog@"
pass=$(perl -e 'print crypt($ARGV[0], "password")' …
derived from here