For checking if SSH login is disabled for root user, open file /etc/ssh/sshd_config and check if "PermitRootLogin" parameter is set to "no". Below command can be used to check this.
cat /etc/ssh/sshd_config | grep -i permitroot
Products to which Article Applies
All Linux Operating SystemsAdditional Reference
https://www.liquidweb.com/kb/enable-root-login-via-ssh/
tarun boyella
No comments:
Post a Comment