- Log into the Ubuntu virtual machine in the Openstack.
- Open /etc/ssh/sshd_config with a text editor.
- Locate the line Password Authentication and change No to Yes.
- Locate and change the line Challenge Response Authentication from No to Yes.
- Save the file.
- Restart the SSH Service by using the command, service ssh restart You should be able to open a SSH connection to the virtual machine.