Putty error: No supported authentication methods available.

Hi, Im using freebsd, how can i delete EVERYTHING that has relation with ssh and putty (files sshd on freebsd), any ssh key that i may have somewhere, so i can start again trying with putty? the error is that Putty error: No supported authentication methods available


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

look in /root/.ssh on your droplet, generate a new keypair with ssh-keygen and be sure copy the key to your machine. (It’s id_rsa not the one ending with .pub).

If you replace the public key on the droplet it doesn’t matter what happened to the old private key, though you should add the new public key to your keys list in the DO control panel so you can use it when you build droplets in future.

So i can login withouth using ssh or rsa keys just using putty