How to Disable Root SSH Access on CentOS 7

Опубликовано: 06 Апрель 2018
на канале: Darren's Tech Tutorials
5,307
80

If you have a server that's available over a network it's generally a good idea to disable root access over ssh.

The reason for this, is that, scripts run attempting to access  your server and these scripts use the root username to try and log in. A simple way to protect yourself is to simply disable root access via SSH.

In this video we will show you how to disable Root SSH access on CentOS 7 Linux.

We will first create a new user and then make sure that user can run commands with sudo permissions.

We will then disable the root account on CentOS 7.

Finally, we then test to make sure all is working as we expect before we exit the SSH session.

All the commands that you need to follow along can be found here:

https://darrenoneill.eu/?p=526

If you have any questions please do comment below :)


Смотрите видео How to Disable Root SSH Access on CentOS 7 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Darren's Tech Tutorials 06 Апрель 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5,307 раз и оно понравилось 80 людям.