AFAIK, there really isn't a difference in the way you are using it. PermitRootUser is the standard directive used by most people to block root logins and is pretty straight forward (yes/no), though it does accept other options like "without-password". The DenyUser directive is a little more flexible and allows you to do things like specifying "root@somehost".
|