No supported authentication methods available (server sent publickey)
Solution 1: Allow password-based logons
-
Check the value of the
PasswordAuthenticationparameter in the/etc/ssh/sshd_configfile.sudo cat /etc/ssh/sshd_configThe following figure shows that the
PasswordAuthenticationparameter is set tono, which indicates that password-based logons are denied. To allow password-based logons, set the PasswordAuthentication parameter toyes.