Report this

What is the reason for this report?

Rebuild Droplet error: "The image for this droplet does not use root passwords, please use an SSH key"

Posted on December 20, 2021

I have droplet is configured for SSH with username & password. I also added SSH key to this droplet in /root/.ssh/authorized_keys file.

I have uploaded custom image, created a droplet from it. Access to this droplet was via SSH key. I made a snapshot from this droplet.

Thus, I have a droplet with login and password access and a snapshot with an SSH key.

When I try to rebuild the droplet with this snapshot, I get the error: “The image for this droplet does not use root passwords, please use an SSH key”



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.

Hi @ackonit,

What if you remove the Password authentication method and leave only the SSH method on the droplet you are trying to rebuild, does that change the outcome or not?

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.