Skip to content

Instantly share code, notes, and snippets.

@malikperang
Last active November 26, 2015 07:44
Show Gist options
  • Save malikperang/fee55f2e15b1193b51fa to your computer and use it in GitHub Desktop.
Save malikperang/fee55f2e15b1193b51fa to your computer and use it in GitHub Desktop.
Example of multiple GIT user setting
Host bitbucket.org
User git
Hostname bitbucket.org
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Host bitbucket-farizaqm
User git
Hostname bitbucket.org
PreferredAuthentications publickey
IdentitiesOnly yes
IdentityFile ~/.ssh/farizaqm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment