{"id":120090,"date":"2025-01-15T15:16:05","date_gmt":"2025-01-15T20:16:05","guid":{"rendered":"https:\/\/jumpcloud.com\/?post_type=support&p=120090"},"modified":"2025-01-15T15:16:50","modified_gmt":"2025-01-15T20:16:50","slug":"create-an-ssh-root-access-policy-for-linux","status":"publish","type":"support","link":"https:\/\/jumpcloud.com\/support\/create-an-ssh-root-access-policy-for-linux","title":{"rendered":"Create an SSH Root Access Policy for Linux"},"content":{"rendered":"\n
The SSH Root Access policy governs whether the root user can remotely log in to a system via SSH. This is a critical security setting, as enabling root login can expose systems to potential unauthorized access. This policy gives you an easy way to mass-control the PermitRootLogin configuration on your Linux devices.<\/p>\n\n\n\n
Prerequisites<\/strong>:<\/p>\n\n\n\n Considerations<\/strong>:<\/p>\n\n\n\n To create a Control SSH Root Access policy:<\/strong><\/p>\n\n\n\n\n
\n
\n
sudo apt install openssh-server<\/code><\/li>\n\n\n\n
sudo dnf install openssh-server<\/code><\/li>\n\n\n\n
sudo yum install openssh-server<\/code><\/li>\n\n\n\n
sudo dnf install openssh-server<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n
\n