Shell script `default/ssh-disable-root-login'

Disable SSH root login

sudo sed -i 's/PermitRootLogin/#PermitRootLogin/' /etc/ssh/sshd_config printf "\nPermitRootLogin no\n" | sudo tee -a /etc/ssh/sshd_config > /dev/null sudo systemctl restart sshd