Skip to content

Instantly share code, notes, and snippets.

@Qurus
Forked from adastreamer/dokku_add_new_ssh_key.sh
Created February 5, 2018 21:16
Show Gist options
  • Save Qurus/0440c3759f551a3edfcc2745b1d1bbe8 to your computer and use it in GitHub Desktop.
Save Qurus/0440c3759f551a3edfcc2745b1d1bbe8 to your computer and use it in GitHub Desktop.
Dokku add new ssh key
#!/bin/bash
cat /path/to/public_key | ssh root@yourdokkuinstance "sudo sshcommand acl-add dokku [description]"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment