SSH Authentication -- Disabling passwords only for root?
Greetings!
I sincerely hope I selected the correct forum for this question (I was debating between 'server', 'networking' and here). I have successfully enabled RSA Authentication for SSH on my server. No problems with that -- it works great, my public keys are all setup right, and so forth. The problem is that enabling root login also enables root login via a password -- which I don't want (for obvious security reasons). At the same time, I have regular users who I DO want to be able to log in via a password (largely because I use that user on many machines, at times arbitrary machines, so RSA authentication is entirely impractical). Is there some way to disable password logins for root, without disabling them for anyone else? |
Set PermitRootLogin in sshd_config with the appropriate option.
Check the sshd_config man page for more details. |
Quote:
|
All times are GMT -5. The time now is 06:41 AM. |