:: 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
8 sec read
:: 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