[CentOS] 'root' ssh login

Jim Wildman jim at rossberry.com
Mon Jan 16 11:35:56 UTC 2006


On Mon, 16 Jan 2006, Tom Brown wrote:

> how can i stop root logging into ssh ? I presume there is a setup file 
> somewhere?
> 

man sshd_config

or set 
PermitRootLogin no

in /etc/ssh/sshd_config

------------------------------------------------------------------------
Jim Wildman, CISSP, RHCE       jim at rossberry.com http://www.rossberry.com
"Society in every state is a blessing, but Government, even in its best
state, is a necessary evil; in its worst state, an intolerable one."
Thomas Paine



More information about the CentOS mailing list