HI, so I was following the tutorial to deploy a Flask application on dokku (https://www.digitalocean.com/community/articles/how-to-use-the-dokku-one-click-digitalocean-image-to-deploy-a-python-flask-app). My app currently runs fine on Heroku so I think the settings etc should be good.
However I run into an issue when I wanted to add the remote (last step), it’s asking me for dokku@my_domain’s password. I didn’t explicitly set up the user dokku so I don’t know what the password is.
Sorry if this is a n00b question. Thanks for the help!
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!
This is the issue with your ssh-key. Check if you added the right ssh-key. See this article for more details: https://www.digitalocean.com/community/articles/how-to-set-up-ssh-keys--2
sorry I followed that but I’m still not sure where I messed up. Is it on the my git host side or on my digitial ocean set up side? Thanks!
It sounds like your SSH key wasn’t added to the Dokku user. When you first setup the Dokku server, enter its IP address in a web browser to add your SSH public key. It should look like: <br> <br>https://assets.digitalocean.com/articles/dokku_intro/dokku_setup.png <br> <br>To manually add another key latter, from your local machine you can run: <br> <br><pre> <br>cat ~/.ssh/id_rsa.pub | ssh root@your.dokku.instance “sudo sshcommand acl-add dokku [description]” <br></pre>
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.