dokku git push droplet error

Hi… running into a problem with a droplet running ubuntu 14.04 and dokuu for node.js style applications. I set up the server many times, with the correct keys, and added the keys to dokku, and was able to ssh into my server with “password” perfectly fine at root@myipaddress. However, when I add a remote for my git repo with “git remote add production dokku@myipaddress:appname” and then try to perform “git push production master” it first asks me for my .pub key password (which is blank, so there is no error) and then asks me for the dokku@myipaddress password. I enter the same “password” that allowed me to ssh into root@myipaddress, but it returns me the error of permission denied. Why is this happening? I have all the correct keys copied locally, on the server, and in dokku, and I am using the right ip address and password.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

How did you add the keys to the dokku user? Use: <br> <br><pre> <br>cat ~/.ssh/ | ssh root@your.dokku.ip “sudo sshcommand acl-add dokku [description]” <br></pre>