Learn how to enable password and root login over SSH by editing the SSH configuration file, restarting the service, and resetting user credentials.