On Tue, Jan 5, 2010 at 9:16 AM, Max Hetrick <maxhetrick@xxxxxxxxxxx> wrote:
Thanks!# vim /etc/ssh/sshd_configSusan Day wrote:
> Hi;
> How do I make it so that it's impossible to SSH into the server directly
> as root? That is, make it necessary to SSH in as an ordinary user and
> then su to root?
> TIA,
> Suzie
Uncomment the following line:
#PermitRootLogin yes
PermitRootLogin no
# service sshd restart
Suzie
_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos