Today's article tells you how to prevent root login via SSH.

KGIII

Super Moderator
Staff member
Gold Supporter
Joined
Jul 23, 2020
Messages
11,686
Reaction score
10,222
Credits
96,718
It's easier than one might think.


Feedback is awesome.
 


This also works. ;)
Code:
[user@server ~]# sudo shutdown -h now
 
LOL That's true. That works! Nobody will be able to login as root via SSH.
 


Latest posts

Top