Cheat Sheets

SSH - PermitRootLogin no

Description

Checks /etc/ssh/sshd_config for PermitRootLogin no

Check Script: ssh-no-root.sh

if grep -q "PermitRootLogin no" /etc/ssh/sshd_config; then
	result_ok
else
	result_failed
fi
Comment on Disqus