Filezilla sftp Error: Disconnected: No supported authentication methods available (server sent: publickey) why not connect the server
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!
I decided to find a tutorial from a site I frequently check, https://www.linuxbabe.com/redhat/generate-centos-ssh-public-key
I usually use DO to add my ssh key or just copy/paste it into my authorized_keys file myself. I tried using the ssh-copy-id command she recommends though, and that seems to make everything play nice. Pubkey with ssh and FZ now works again.
Let me know if you have any questions.
Best, John
The error means that FileZilla tried all available authentication methods and have not succeeded. In your case, there was only public key authentication method available
Here, you have two options, one would be to enable password authentication and the other would be to add your ssh key to your FileZilla application.
Add SSH Key to FileZilla
Open your FileZilla, go to Edit->Settings->SFTP and there click on Add key file. From there go to your SSH key and add it.
Enable Password Authentication
SSH to your droplet
ssh root@DropletIp
and edit your /etc/ssh/sshd_config. In there search for the following line PasswordAuthentication. By default it’s commented and set to No
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication no
To enable it change it like so
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication Yes
Save the file and exit. For the configuration to be loaded, you’ll need to restart sshd
service sshd restart
That’s it, you are ready to go
Regards, KDSys
Yep, I think that’s what they are asking about. The keyfiles suddenly do not work. Not sure if it’s a new protocol in FZ or DO but using an ssh key no longer works for me. It does not connect to the server. I’ll reply if I find a fix.
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.