i cant change sshd_config. ssh direct root logins are permitted.
when i run security advisor, i cant change /etc/ssh/sshd_config in terminal WHM.
i try this code. but i cant save.
or
SSH direct root logins are permitted. Manually edit /etc/ssh/sshd_config and change PermitRootLogin to "without-password" or "no", then restart SSH in the "
sed -i '/^PermitRootLogin/s/yes/no/' /etc/ssh/sshd_configor
vi /etc/ssh/sshd_config#PermitRootLogin noSSH direct root logins are permitted. Manually edit /etc/ssh/sshd_config and change PermitRootLogin to "without-password" or "no", then restart SSH in the "
Please sign in to leave a comment.
Comments
0 comments