On Thu, Jun 26, 2014 at 4:22 PM, Kai Schaetzl <maillists@xxxxxxxxxxxxx> wrote: > It seems the syntax for AllowUsers in sshd_config is not the same that is > given in man sshd_config and in several documentation on the web. > (http://www.openssh.com/cgi-bin/man.cgi?query=sshd_config) > > e.g. > > AllowUsers root > > does work. > > AllowUsers root username IIRC, I had encountered similar issue on a Debian box but did not investigate much. Instead, I went with the "AllowGroups" option e.g. AllowGroups admins and add users to the group. Only members of the group can login with ssh. HTH, -- Arun Khan _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos