By kmanlove
We just took over a site for a client and discovered that they have a dokku installation. With root, we were able to install ssh keys and that all seems to work fine. If you log in with Dokku, it kicks you out as it should.
I was thinking we could use the remote backup instructions from Dokku to get a local checkout to start pushing changes to the site, but I’m getting “Please make sure you have the correct access rights and the repository exists.” Before I screw around with this too much, I wanted to make sure I was under a correct assumption that this would work. If we just need to get access to the original repository, let me know.
Thanks for your 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!
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.
Adding a SSH key for use with Dokku should be done with the sshcommand acl-add command. It formats the /home/dokku/.ssh/authorized_keys file in a very specific way.
- cat ~/.ssh/id_rsa.pub | \
- ssh root@dokku.ip.address "sudo sshcommand acl-add dokku <name>"
For more info on how Dokku handles user management, see here.
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.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
