Last active
June 13, 2016 11:12
-
-
Save mortennajbjerg/d0f552cfffe656a3fbc5a43372510680 to your computer and use it in GitHub Desktop.
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
# 1. Run key generator on deployment server | |
ssh-keygen | |
# 2. Copy the content of id_rsa.pub usin VIM | |
vim ~/.ssh/id_rsa.pub | |
# 3. Add the id_rsa.pub to Deployment keys in Bitbucket | |
# 4. Add Bitbucket to known_hosts on deployment server | |
ssh-keyscan -t rsa bitbucket.org >> ~/.ssh/known_hosts | |
# 5. Make sure it has been copied to ~/.ssh/known_hosts | |
# That's it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment