Check Who Can SSH
enumerationlinuxchecklist
Summary
AllowUsers/AllowGroups and auth settings show which accounts can log in over SSH.
Walkthrough
Review sshd_config to see which users and auth methods are permitted.
Commands
bash
cat /etc/ssh/sshd_config