Re: blocking ssh Root Logins
Hal Vaughan and others write:
>Yes, according to "man sshd_config", you can disable root login by editing
>the /etc/ssh/sshd_config file. If you see "PermitRootLogin Yes" change the
>yes to no. If you don't see it, add the line, but with a "no". It's
>possible the line could be commented out (the default is to permit).
I did actually read the man page and remember seeing something
about that but I probably failed to kill -HUP sshd, maybe thinking
that it read that file for every new login. I remember trying it and
still being able to ssh in as root.
Thanks to all.
Reply to: