Use the DenyUsers option in /etc/ssh/sshd_config. See the sshd_config man page for details. Note that a user specified as "joe@example.com" will not prevent joe at example.com from logging in, but rather, it will prevent anyone from example.com logging in as the local user joe. At least, that is my understanding, I could be wrong.
|