:: how to deny user and groups login on ssh
|
1 2 3 4 |
# vi /etc/ssh/sshd_config
### add this line to deny users and groups
DenyUsers username username
DenyGroups groupname groupname |
:: restarting sshd
|
1 |
# /etc/init.d/sshd restart |