I think that someday, I restarted my server using the Digitalocean control panel probably due to which this problem started. The current situation- I am not able to SSH and also unable to connect using Control Panel consol window. to my droplet I expect that some files related to ssh might have got corrupted for me not being able to connect via ssh (It shows “Connection closed by <ip> on port 22”). For the second case, the reason might be the fact that my office network only allows connections on port 80, 443 and 22 only (It shows a black screen with “Server disconnected (code: 1006)”). So what should I do now to get access to the droplet.
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!
Can you go to the control panel and power off the droplet. Wait a few seconds and then start it again. If you check the Console, can you see anything happening?
The Console in the control panel connects to the droplet like it was a monitor, so it doesn’t matter if SSH is working or not.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.