Created
June 7, 2020 03:54
-
-
Save worldofprasanna/ade0334bfc85e5a5a2c0d38b469dc028 to your computer and use it in GitHub Desktop.
Adding team mates to dokku application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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