DEV Community

Discussion on: How to use different SSH Keys for different Bitbucket (git) Repositories

shane profile image
Shane McGowan Author

Cool! Do you know if there is a way to choose your SSH Key for use with git clone when first cloning the repo?

neerajpro profile image
Neeraj Goswami

yes it is git clone -c core.sshCommand="ssh -i ~/.ssh/your-ssh-fileName"