By rapidfx
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!
This comment has been deleted
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
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.