Report this

What is the reason for this report?

Creating a droplet from an updated snapshot (yum -y update) will restrict ssh access.

Posted on October 1, 2017

Since a few days, if you create a droplet from a snapshot that was (yum) updated, you will not be able to access that droplet via Terminal (ssh: connect to host ...** port 22: Operation timed out). You will be able to access only from the DO console.

Test this: 1- create a droplet with Centos 7.3 2- yum update the droplet 3- poweroff and make a snapshot 4- create a new droplet using that snapshot 5- try to access via ssh (Terminal / Putty)

You will not be able to login that new droplet. When typing ssh root@new_droplet_ip, the password prompt will never appear (you will get a “ssh: connect to host ...** port 22: Operation timed out”



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.

Hello,

This is an interesting question. I could suggest a few things:

  • Add verbose mode to your ssh command so that you could get some extra output:
ssh -vvv root@your_ip_here 

That way you would know what exactly your SSH command is doing

  • Try accessing your droplet via the console and make sure that it is actually up and running

I tried to recreate the exact same process at my end but it all went through smoothly.

Regards, Bobby

This comment has been deleted

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.