Dokku add new ssh key

January 30, 2014 17.4k views
How can I add new ssh key for dokku. I have already created one key and tested deployment. Now i cannot add new key for accessing it from other machine
4 Answers
Run the following command to add a new key:
cat /path/to/public_key | ssh root@yourdokkuinstance "sudo sshcommand acl-add dokku [description]"

[description] can be anything as long as it is one word only (e.g. "personal", "home", etc.).
Thanks it works perfectly !
Have another answer? Share your knowledge.