Question

Digital Ocean VM Droplet Keeps on Disconnecting

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


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.

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