Skip to content

Instantly share code, notes, and snippets.

@manuelmorales
Created September 26, 2011 14:34
Show Gist options
  • Save manuelmorales/1242372 to your computer and use it in GitHub Desktop.
Save manuelmorales/1242372 to your computer and use it in GitHub Desktop.
Access GitHub using deploy key
# ~/.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