Disable root login via SSH

Frank Murphy frankly3d at fedoraproject.org
Tue Jan 13 11:10:06 UTC 2009


Cameron Simpson wrote:
> On 13Jan2009 11:54, Leon Vergottini <leon.vergottini at gmail.com> wrote:
> | I followed the steps on
> | http://www.howtogeek.com/howto/linux/security-tip-disable-root-ssh-login-on-linux
> | http://forums.fedoraforum.org/showthread.php?t=47795
> | 
> | to disbale root log via ssh, however after doing it I am still able to log
> | in as root.
> | 
> | Also I have notice the option PermitRootLogin was no in the ssh_config file,
> | so I added it in the file myself.
> | 

You can also add "DenyUsers root" as a last line in sshd_config

Frank




More information about the fedora-list mailing list