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!
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.
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.
Click below to sign up and get $200 of credit to try our products over 60 days!