
Originally Posted by
Blue|Fusion
If you want to enable root ssh login do the following:
Open the file /etc/ssh/sshd_config in your favorite text editor. Look for the line that says PermitRootLogin no. Change the no to a yes and then restarted the sshd service.
If you want to keep SSH root login disabled (which many people do for security reasons), you need to add a user (or create a new user) and make that user belong to the wheel group. Once that's done, you can login to SSH as that wheel user, and then use the command su - to become the super user (root). You will be prompted for the root password when you issue that command, but again, that command only works if that user is in the wheel group.