ethan
asked Jun 18 2019
edited Jun 18 2019
Answer
Use the following command for the disable the SSH login for the root user
#vim /etc/ssh/sshd_config
#PermitRootLogin yes
Change And remove the #
PermitRootLogin no
linuxhelp
asked Jun 18 2019
How to disable SSH login for the root user
How to disable the SSH login for the root user . how should restrict the login credentials for the root user