type: txt help: Configure sshd_config access control for allowed groups. comp_help: The SSH user and group access control directives (allow/deny) are processed in the following order: DenyUsers, AllowUsers, DenyGroups, and finally AllowGroups. Multiple groups can be specified as a comma-separated list. create: sudo sed -i -e '$ a \ AllowGroups $VAR(@)' /etc/ssh/sshd_config delete: sudo sed -i -e '/^AllowGroups $VAR(@)$/d' /etc/ssh/sshd_config update: sudo sed -i -e '/^AllowGroups.*$/c \ AllowGroups $VAR(@)' /etc/ssh/sshd_config