Report this

What is the reason for this report?

Filezilla SFTP user connection failed with user nodejs (server sent: publickey)

Posted on June 29, 2022

I’ve a nodejs droplet. The nodejs user is created by the system.

When I login with SSH as root I get this message in the console:

Use these SFTP credentials to upload files with FileZilla/WinSCP/rsync:
    Host: 165.232.143.216
    User: nodejs
    Pass: XXXXXXXXXXXXXXXXXX

However when I try to connect using Filezilla using these credentials and port 22 I get the connection refused with:

FATAL ERROR: No supported authentication methods available (server sent: publickey)

Eight now I’m able to establish a SFTP connection with Filezilla only as a root user using this guide: https://docs.digitalocean.com/products/droplets/how-to/transfer-files/



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.

Hi @consfuso,

This is because DigitalOcean’s Droplets by default when created allow only one authentication method and that is by SSH key. You can check the following docs on how you can login to the Droplet using FileZilla:

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

Check it out and let me know how it goes and if you need anymore help.

Hello there,

You can double-check FileZilla’s configuration settings. Another article to mention is How To Use Filezilla to Transfer and Manage Files Securely on your VPS

https://www.digitalocean.com/community/tutorials/how-to-use-filezilla-to-transfer-and-manage-files-securely-on-your-vps

Regards

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.