Question

Unable to connect to my SFTP: Authentication Failed

I’m following the instructions here however I’m not able to connect to my droplet and I get the below error.

I have added my private key to FileZilla and my public key to my account on digital ocean. I also attempt to connect on port 22 and without a password. Yet I still get authentication failed. Any hints?

Status: Connecting to 64.227.33.251… Response: fzSftp started, protocol_version=9 Command: keyfile “/Users/christianmacedo/.ssh/id_rsa” Command: open “root@64.227.33.251” 22 Command: Pass: Error: Authentication failed. Error: Critical error: Could not connect to server

Show comments

Submit an answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Sorted.

I booted into recovery mode and modified my password.

Once done I could get into the console and SFTP in.

Thanks.