Report this

What is the reason for this report?

My server keeps refusing my FTP connection.

Posted on September 5, 2014

Hi,

I just (maybe like two hours ago now), purchased a $5/mo DO VPS. I selected Ubuntu with LEMP pre-installed on the image.

Now I changed my domain to point at the IP (and it works, I get the “welcome to Nginx” page if I go to the IP/Domain Name), but I’m having issues uploading files.

I open Filezilla, input the server IP, “root” as the username and my password. I select SFTP as the type of connection.

However, after a few seconds I get the following error message:

Error:	Authentication failed.
Error:	Critical error
Error:	Could not connect to server

Obviously this is really irritating as it basically means I can’t upload any sites. If anyone could help me out that’d be great.



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.

I’m having a similar issue - I went ahead & reset my password for the console, but it still gives me that error in filezilla. http://cl.ly/image/1T2Q2V0x3B0k

Hi, In digital ocean hosting,under project fbistapps and same droplet,I am not able to connect via sftp through filezilla.

Steps follows:- 1- I reset password and received password at mail. 2- From access console I changed password. 3- Trying to connecting via sftp and user name and password but don’t able to get connected.

Error Showing:- 1- Error: Disconnected: No supported authentication methods available (server sent: publickey) Error: Could not connect to server Status: Disconnected from server

What should I need to done to get rid of this issue.Any support will be appreciated.

Hey Josh,

That sounds frustrating indeed! I couldn’t reproduce your exact error message, but have a feeling your authentication is getting hung up because you’re using the default root password. For security purposes, you must change your password as soon as you log in to your droplet. FileZilla doesn’t provide that prompt, so you’ll have to log in through SSH.

I’m using the web console, but you can do this inside your favorite SSH client (like PuTTY for Windows, or Terminal for Mac):

  1. Go to your DigitalOcean Dashboard
  2. Select your droplet
  3. Click the “Access” button
  4. Click on the blue “Console Access” button
  5. When prompted for hostname login: _, enter root
  6. When prompted for Password: _, enter your password
  7. Follow the prompts to change your password
  8. Go to FileZilla, and you should be able to login through SFTP & your new password

Let me know if that works for you, or if the error persists!

Cheers, Derik

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.