Enabling all AD users to SSH

Latest response

Hi,

I have a RHEL 7 server that is already connected to my Windows AD.
I did a configuration change to SSHD_Config to allow certain users to SSH.
As there is too many users will be accessing this server, my intention is to allow all the users to SSH.

How do i go about doing that? I know to allow certain users to SSH requires me to add in a particular line called ALLOWUSERS and ALLOWGROUPS.

Responses

Hi Muhd Aslah,

If I understand your question correctly, the solution is simple:

Remove (or comment out) lines AllowUsers and AllowGroups from sshd_config. Then, restart sshd service.

That way, all AD-based accounts will be able to log in.

Regards,

Dusan Baljevic (amateur radio VK2COT)