To enable password authentication: First, open the Ubuntu Terminal, then execute sudo nano /etc/ssh/sshd_config to open the configuration file. Finally, change the permission of the password authentication from no to yes and save the file.