I am unable to SSH to a droplet D1 created from a snapshot S1. That snapshot S1 is created from a droplet D2 that is still running and that I can SSH to.
When I created D1 I provided a different hostname than D2’s. However, when logging into D1 via the Recovery Console (as root), I see that D1 still has D2’s hostname.
I have tried restoring another droplet D3 from another snapshot S2 (made from droplet D4), and that droplet D3 I can SSH to just fine. Also, D3 has the hostname that I provided during droplet creation and not the hostname of D4. So, for D3 everything works as expected.
The sshd_config is exactly the same on D1, D2, D3, D4.
Why cannot I SSH login to D1?
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!
Hello,
What is the exact error that you get when you try to SSH?
During the creation of the new Droplet, did you specify your SSH key? If not you would need to add it by following the steps here:
https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/to-existing-droplet/
Best,
Bobby
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.