Skip to content

Instantly share code, notes, and snippets.

@worldofprasanna
Created June 7, 2020 03:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save worldofprasanna/ade0334bfc85e5a5a2c0d38b469dc028 to your computer and use it in GitHub Desktop.
Save worldofprasanna/ade0334bfc85e5a5a2c0d38b469dc028 to your computer and use it in GitHub Desktop.
Adding team mates to dokku application
# SSH into the virtual machine
ssh root@<vm-public-ip-address>
# Add their public keys to the authorized keys
vi ~/.ssh/authorised_keys
# Add their public keys to the dokku application
dokku ssh-keys:add <user> <path-to-public-key>
# eg: dokku ssh-keys:add prasanna /root/pub-keys/prasanna.pub
# List the users who have permission
dokku ssh-keys:list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment