QUOTE (sightz)
While we are on the subject, does anyone know once you have direct root login disabled, if you are able to login as root using a public/private key pair?
I have been experimenting with it, but without much success.
I need to be able to run WinSCP, but it is only useful if you can log in as root.
Ideas? Step by step walkthroughs?
Don't use "PermitRootLogin no". Use "PermitRootLogin without-password" instead. This will allow logins by root only when a password is not used (I.E. when an RSA key is being used as the authentication method). I have this set on the servers that I administrate to allow server to server copying from/to root-protected areas.
+++++ update +++++
I just realized that I am a whole year late on this. Hopefully this helps someone.