Follow these steps :
1. Head over to the file /etc/ssh/sshd_config
2. And change the following line: PasswordAuthentication yes
3. Then restart sshd: sudo service ssh restart
4. Or: systemctl restart ssh
Source :
https://stackoverflow.com/questions/41092541/how-to-log-in-to-ssh-without-public-key-only-with-username-and-password
Comments
Post a Comment