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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Heya,
You can ensure that the SSH server supports the authentication method you are using (e.g., password, public key).
/etc/ssh/sshd_config:PasswordAuthentication yes
Always restart the SSH service after making changes to the configuration:
sudo service sshd restart
Before testing from another machine with PuTTY, try connecting locally using:
ssh username@localhost
If the error persists, check the SSH logs for any issues:
tail -f /var/log/auth.log
Regards
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.