Friday, May 1, 2009

Disallow Root Login on SSHD

To disallow root login access on ssh, open the file "/etc/ssh/sshd_config" and edit or add the line:

PermitRootLogin no

Then restart your sshd server:

#/etc/rc.d/init.d/sshd restart

No comments: