Question

Received error Connection terminated by the client. [postauth] while establishing SFTP connection to from sftp client server to sftp server

What is causing this issue? Any help is appreciated.


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.

Hello,

I believe that you need to add your SSH key to your SFTP client in order to be able to connect to the droplet. Or you need to enable password authentication for your SSH service so that you could login with a password rather than SSH key.

So if you have your SSH key, just add it to your SFTP client and it should work.

If you don’t have your SSH key, you can follow the steps here here in this step by step article:

https://www.digitalocean.com/docs/droplets/resources/lost-ssh-key/

Let me know how it goes! Bobby