Cheat Sheets

SSH - SFTP disabled

Description

SFTP subsystem must not be enabled in /etc/ssh/sshd_config

Check Script: ssh-sftp-disabled.sh

if grep -q "Subsystem[[:space:]]*sftp[[:space:]]*.*sftp-server" /etc/ssh/sshd_config; then
	result_failed "SFTP subsystem is enabled, but should not be!"
fi
Comment on Disqus