sudo vi /etc/ssh/sshd_config
... #PasswordAuthentication no PasswordAuthentication yes ...
sudo systemctl restart sshd