:: how to deny user and groups login on ssh

# vi /etc/ssh/sshd_config
### add this line to deny users and groups
DenyUsers	username username
DenyGroups	groupname groupname

:: restarting sshd

# /etc/init.d/sshd restart

:: links
+ google
+ cyberciti