Report this

What is the reason for this report?

Can't connect to sever with FileZilla using root.

Posted on May 19, 2017

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”.



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!

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.

This comment has been deleted

@rapidfx

That specific error means that the username or password is incorrect. In such a case, you’re trying to login as root, so the username isn’t incorrect, which means the password is the issue.

Have you tried to login to the CLI using SSH with root and the password you feel is correct? If so, are you being denied there as well, or are you able to successfully login?

If you’re able to login to the CLI using SSH, have you made sure that when connecting using FileZilla that you’re specifying SFTP (instead of FTP) and that you’re using port 22 to connect?

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.