Report this

What is the reason for this report?

Digital Ocean VM Droplet Keeps on Disconnecting

Posted on August 22, 2021

I created an Ubuntu VM Droplet and SSH’ed into it to do a couple of projects and test code, after almost every 5 to 10 minutes, the SSH Session periodically disconnects, why is it so? It is really frustrating, I can’t even do anything and can’t progress. Could the Digital Ocean Team address this? Why does it keep on happening, in my experience, only on Digital Ocean, I have never had this problem on any other cloud platform. Thank you



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!

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.

It’s possible your SSH’s keepalive time means without activity within a timeframe, it disconnects.

If that’s the case, you might need to adjust the keepalive time in your ssh config

https://unix.stackexchange.com/a/446441/38383

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.