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.
Regards
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!
How did you add the keys to the dokku user? Use: <br> <br><pre> <br>cat ~/.ssh/id_rsa.pub | ssh root@your.dokku.ip “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.