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

July 30, 2019 226 views
Linux Commands CentOS

What is causing this issue? Any help is appreciated.

1 Answer

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

Have another answer? Share your knowledge.