Testing Enable Root SSH Access
@ -100,6 +100,12 @@ EOF
systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
msg_ok "Customized Container"
fi
if [[ "${SSH_ROOT}" == "yes" ]]; then
cat <<EOF >>/etc/ssh/sshd_config
PermitRootLogin yes
EOF
systemctl restart sshd
msg_info "Cleaning up"
apt-get autoremove >/dev/null
Powered by BW's shoe-string budget.