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!
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.
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.