Linux
Systemd
sudo systemctl stop caddy
sudo systemctl disable caddy
Networking
sudo ss -lntp | grep -E ':80|:443'
sudo netstat -tulnp | grep -E ':(80|443)'
Upgrade packages
sudo apt-get update && sudo apt-get upgrade -y
Install SSH
sudo apt install openssh-server -y
sudo systemctl enable ssh
sudo systemctl start ssh
sudo systemctl status ssh
Enable Root login for SSH
# Set root password
sudo passwd root
sudo -i
nano /etc/ssh/sshd_config
/etc/ssh/sshd_config#LoginGraceTime 2m
#PermitRootLogin prohibit-password
PermitRootLogin yes
#StrictModes yes
#MaxAuthtries 6
#MaxSessions 10
sudo systemctl restart sshd