By tomcampbell
I created an Ubuntu 14.04 droplet using the API. How do I log in? There doesn’t seem to be a way to specify a password when the droplet is created.
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!
If you created a droplet without defining an SSH Key to use, you should get an email with the username (which will be “root”) and a generated password and IP, and when you login, you will have to change the password. If you defined a SSH Key for your droplet to use within the API, you wont receive an email, but you should get the IP back that you use to login with. If you have yet to receive an email, check your spam folder. It would normally take about 30 to 60 seconds from the time the droplet is being deploy for the email to be send, though it may be a delay if there is a backlog of events. If you have not gotten it, submit a ticket and inform them. You can also login to your account and reset the password (or do it via api if its possible) so it will resend.
Thanks much. I checked my email and you are indeed right. Which leads me to another question: How do I specify the SSH key using the API?
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.