OpenSSH deny or restrict access to users and groups
OpenSSH has two directives for allowing and denying ssh user access. DenyUsers user1 user2 user3 Use to block user login. You can use wild cards as well as [email protected] (user1 is not allowed to login from somedomain.com host) pattern. DenyGroups group1 group2 A list of group names, if user is part of primary of supplementary… Read More »