Security

A server should accept SSH logins only from members of the sshusers group. All other accounts must be refused even when their credentials are valid. Which sshd_config line BEST accomplishes this?

Show the answer

Correct answerC. AllowGroups sshusers

AllowGroups permits login only for members of the listed groups and refuses everyone else. DenyGroups does the opposite, blocking that group, and AllowUsers would treat sshusers as a username rather than a group.