Question

Error: Received unexpected end-of-file from SFTP server Error: Could not connect to server

I’ve been recieving this error for days now.

Error: Received unexpected end-of-file from SFTP server Error: Could not connect to server

On top of this, I can’t even access my SSH. After I type my root password it just closes.

I have no clue what to do. I’m using ubuntu on a VPS.

Subscribe
Share

Submit an 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 @rizonrise,

How are you trying to enter your Droplet, is it from a normal SSH terminal/Putty Agent? Additionally, can you ping your droplet’s IP? Does it show packet loss or it is able to connect?

If any of the above are correct, your network might be stopped. First use your Droplet’s Web Console. You can find the web console from your control panel --> access.

In there use your root user and root password to enter. Once inside try and type in:

service network restart

Once it restarts, try to ping something:

ping 8.8.8.8

Regards, KFSys