The NZ Linux Resource

[AuckLUG] CentOS

Michael J. Knox michael at knox.net.nz
Mon Sep 18 14:27:02 NZST 2006


Justin Cook wrote:
> Howdy
>
> I'm helping a friend who has his heart set on CentOS get it set up. 
> Looks pretty neat so far, except it won't allow root logins from the 
> terminal and it's refusing SSH connections.
>
> The installer never gave an opportunity to set up user accounts and 
> the firewall was set to allow SSH.
>
> Any cluez0rs?
>

In /etc/ssh/sshd_config there is a commented out value:

#PermitRootLogin yes

Remove the comment and restart sshd "service sshd restart"

That should see you straight.

Michael



More information about the AuckLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz