Comment Re:Solution: Public Key Auth (Score 1) 327
then you should configure it so that only members of a specific group are SSH users. Then by default no one can login with SSH. A whitelist is much more effective here.
Put
AllowGroups sshusers
in your sshd_config file and then only members of the sshusers group can login via ssh