1 Answer
To block the direct root login, edit the following line in sshd.conf file located in /etc/ssh/sshd.conf
PermitRootLogin no
So it will block root login directly.
Your Answer
x