No supported authentication methods available (server sent: publickey)


#1

I forgot that I wasn’t using SSH Key for that particular VPS and mistakenly added the following line in my VPS sshd_config: “PasswordAuthentication no”

And restarted the server through command. Now, I’m unable to login to my OVH VPS as it displays: “No supported authentication methods available (server sent: publickey)”

Please, let me know if there is any possible solution to this problem as I have my important website hosted on this server.

Thanks


#2

Resolved.

Resolved by removing ssh server and installing it again.


#3