Can't connect to sever with FileZilla using root.

I took down my old server to revamp everything together, when I am not able to connect to FileZilla using the droplet ip/password. I already went through the process of changing the password and I am getting the message “Authentication failed. Error: Critical 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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I found the solution

FileZilla > File > Site Manager Add new site

Host: your public ip address Port: 22 Protocol: SFTP - SSH File Transfer Protocol

Logon Type: Key File User root Key file: /path/to/your/private/key/file


With FileZilla, you have two connection options – FTP or SFTP. This is a selectable option under the Host and Port and is labeled Servertype.

You need to make sure that drop down has SFTP selected instead of FTP. Unless you install FTP software on the Droplet, you won’t be able to connect using FTP, you have to connect using SFTP (which is actually more secure and better than using FTP).

You can see the dropdown in the screenshot below:

Where it says “FTP - File Transfer Protocol”, you need to click that drop down and make sure SFTP is selected :-).

This comment has been deleted