Question

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

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/


Submit an answer
Answer a question...

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.

alexdo
Site Moderator
Site Moderator badge
July 1, 2022

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

KFSys
Site Moderator
Site Moderator badge
June 29, 2022

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.