Skip to content

Instantly share code, notes, and snippets.

@snallami
Created October 4, 2017 23:45
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 snallami/513bb10b2ff31294d87aebac11fd1076 to your computer and use it in GitHub Desktop.
Save snallami/513bb10b2ff31294d87aebac11fd1076 to your computer and use it in GitHub Desktop.
Use custom git key
git config --global core.sshCommand 'ssh -i /home/ec2-user/.ssh/id_rsa_stage'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment