Ubuntu: Enable root login over SSH
WARNING: DO NOT DO THIS IN PROD == THAT WOULD BE BAD, RAY
This is just something I just need to remind myself of from time to time. Nothing to see here… yet.
As root, edit /etc/ssh/sshd_config
Add a line in the Authentication section of the file that says
PermitRootLogin yes
Save the updated /etc/ssh/sshd_config file.
Restart the SSH server:
service sshd restart