Created
September 26, 2011 14:34
-
-
Save manuelmorales/1242372 to your computer and use it in GitHub Desktop.
Access GitHub using deploy key
This file contains hidden or 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/config | |
Host github-as-deploy | |
HostName github.com | |
User git | |
IdentityFile /home/info/.ssh/dev3dynamic-deploy-key | |
# test with | |
ssh -T github-as-deploy | |
# shell | |
git clone github-as-deploy:user/repo.git | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment