Stop root login with password - Not working with lish
I've configured my sshd_config with the following information and restarted on a debain 7 install:
AcceptEnv LANG LC_*
Subsystem sftp /usr/lib/openssh/sftp-server
AllowUsers root testing
However, it seems I am still able to login as root with a password when I am using the lish ajax web panel. In theory my settings should have stopped that, so what do I need to do it make it so that only my "testing" user can login with a password and root must use a SSH key?
Any help would be appreciated.
When you login via LISH, you are logging into the 'console' of your Linode.
Your SSH configuration has no involvement there.
If, for some reason you really want to disable root login via the console (and I'm not sure it's recommended), you could modify /etc/securetty.
Hope that helps!
[edited for readability, twice - sigh].