sshd_config has two directives
DenyUsers
AllowUsers
There is also an "AllowGroups" directive that can be used say, to create a "ssh" group, and only allow users in said group to login via ssh.
I believe these directives also support wildcards.
Last edited by fukawi1; 12-03-2011 at 01:07 AM.
|