Hey, In your sshd_config file change the line: PermitRootLogin yes to PermitRootLogin no then restart your ssh server. Duane On Wed, 21 Nov 2001, Aaron wrote: > > Would someone be so kind as to tell me which files, and what lines are > needed to not allow user "root" to ssh directly to my server? > > I have tried both /etc/hosts.allow and /etc/hosts.deny, but either I am > not putting th correct line in, or there are additional files which I am > not aware of. (never proclaimed to be great at this) > > Thanking you in advance. > > A > > > > ------------------------------------------------------------------------ > To unsubscribe email security-discuss-request@linuxsecurity.com > with "unsubscribe" in the subject of the message. > ------------------------------------------------------------------------ To unsubscribe email security-discuss-request@linuxsecurity.com with "unsubscribe" in the subject of the message.