Tutorials

:: deny login users and groups on openssh

:: 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

Hi, I’m Sysadmin.ID

Leave a Reply

Your email address will not be published. Required fields are marked *