Question

Cannot connect droplet server with FileZilla

I have a droplet server in DigitalOcean, connecting to the server console platform provide is okay. But I cannot connect by using FileZilla. It shows the below error:

Status:      Disconnected from server
Status:      Connecting to 142.93.54.97...
Status:      Using username "centos".
Error:         FATAL ERROR: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
Error:         Could not connect to server
Status:      Waiting to retry...
Status:      Connecting to 142.93.54.97...
Response: fzSftp started, protocol_version=11
Command: open "centos@142.93.54.97" 22
Status:      Using username "centos".
Error:         FATAL ERROR: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)
Error:         Could not connect to server

Submit an answer


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!

Sign In or Sign Up to Answer

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.

KFSys
Site Moderator
Site Moderator badge
February 19, 2023

Hey @d51253d3020c4e61bed1ca7c7e7649,

You are getting this error as you are trying to connect with a password but it’s not allowed. You can use an SSH key and connect with it.

Check the following on how to achieve that : https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

Bobby Iliev
Site Moderator
Site Moderator badge
February 19, 2023

Hi there,

I believe that you are getting this error as you are not providing the SSH key in your FileZilla connections.

I would recommend following the steps here on how to connect to a Dropler over SFTP with an SSH key:

https://docs.digitalocean.com/products/droplets/how-to/transfer-files/

Let me know how it goes!

Best,

Bobby

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

card icon
Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Sign up
card icon
Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We’d like to help.

Learn more
card icon
Become a contributor

You get paid; we donate to tech nonprofits.

Learn more
Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn more ->
DigitalOcean Cloud Control Panel
Get started for free

Enter your email to get $200 in credit for your first 60 days with DigitalOcean.

New accounts only. By submitting your email you agree to our Privacy Policy.

© 2023 DigitalOcean, LLC.