Wednesday, September 30, 2009

CentOS: How to disable root direct login through SSH

To disable root direct login through SSH:

# vi /etc/ssh/sshd_config

PermitRootLogin no

# service sshd restart

No comments:

Post a Comment