SSH Access Only for Users of Certain Groups in Linux (Ubuntu)
To allow only users of certain groups to access via SSH, in SSHD_CONFIG we specify: AllowGroups root Those who belong to the groups root and teamusers will gain SSH access.
To allow only users of certain groups to access via SSH, in SSHD_CONFIG we specify: AllowGroups root Those who belong to the groups root and teamusers will gain SSH access.