Cheat Sheets

SSH - No keyboard auth

Description

/etc/ssh/sshd_config must not have enabled keyboard-interactive authentication

Check Script: ssh-no-keyboard.sh

if grep -q "^[[:space:]]*[^#]keyboard-interactive" /etc/ssh/sshd_config; then
	result_ok
else
	result_failed "Found keyboard-interactive in /etc/ssh/sshd_config"
fi
Comment on Disqus