Created
October 14, 2014 16:51
-
-
Save gskielian/b3f165b9a25c79f82105 to your computer and use it in GitHub Desktop.
Specifying SSH Key within Git Clone
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
#how to specify an ssh key to use when cloning a repo in Mac | |
ssh-agent bash -c 'ssh-add /Users/UR_USERNAME/.ssh/UR_PRIVATE_KEY; git clone git@DAS_GIT_URL' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! I was struggling with GIT_SSH_COMMAND on git 2.24.3 and you saved me