0

How to disable direct root login in ssh

I need to disable the direct login to the root user. Where to block it.

connor
asked Feb 17, 2017
1 Answer
0

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.

View More
jagannatharumugam
answered Feb 19, 2017
Your Answer
||||
x
 
100:0