---

Disable or Enable SSH Root Login and Secure SSH Access in CentOS 7

We all know that CentOS comes with root access disabled for the outside world by default. This means that you can not directly log in as a root user via SSH, but you can still go ahead and utilize root privileges by using the “sudo” command instead. However, sometimes it is more convenient to log in direct as the root user. That’s why in this article, we will talk about how to enable, disable and secure the SSH login to your server when attempting to log in as root.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis