Question
The image for this droplet does not use root passwords, please use an SSH key
I’m trying to create a coreos instance via API like this , however I’m getting error response as per the subject and I’m not quite sure why as I am indeed passing my DO sshkeyid in the POST-ed json.
Anyone ideas ?
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.
×
You will most likely need to let us know the query you are running (with the API key masked) otherwise I don’t see how we could know.
EDIT: Just saw the “this”, sorry, dots were too tiny for me to see!
There is a link to github gist in my question - click on word “this” and you’ll be redirected to it.
What’s the value of
$DO_SSH_KEY_ID
? From the API docs, it should be:I’d guess that the ID you are providing doesn’t match a key in the system.
Bingo! That was it. Incorrect SSH key id! The error message is utterly confusing imho....Thanks!