Doctl asks for root password when SSH-ing into droplet
I’m setting up a droplet using Doctl, like so:
doctl compute droplet create DROPLET_NAME --size 2gb --image centos-7-x64 \ --region tor1 --ssh-keys FINGERPRINT --enable-private-networking
but when I use
doctl compute ssh DROPLET_NAME, it asks me for the root password (since it’s trying to log in with the root account). Since I’ve just set up this droplet, I haven’t set the root password, so I can’t SSH into the droplet. That shouldn’t really matter, though, because I want to use the key-based authentication I used to create the droplet.
Why is it asking me for a password I don’t have? Is there a default password, or do I need to use the web interface to reset the root password? What’s the point of Doctl, if I have to use the web interface anyway?