Main Menu

Search

LINUX: How To Check If SSH Login Is Disabled For Root User?

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 Systems

Additional Reference

https://www.liquidweb.com/kb/enable-root-login-via-ssh/




tarun boyella



No comments:

Post a Comment