Why slackware does not initially disable root access on SSHD is beyond me, here is how to turn it off:
login as root:
nano /etc/ssh/sshd_config
Change from:
# PermitRootLogin yes
Chang to:
PermitRootLogin no
Save and exit
Issue command:
/etc/rc.d/rc.sshd restart
**** Make sure you remove the comment (#) or nothing will change ****
No comments:
Post a Comment