Skip to content

Instantly share code, notes, and snippets.

@snallami
Created October 4, 2017 23:45
Show Gist options
  • 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