Karmatr0n

Programming and Infosec for fun!

Managing multiple github accounts using several ssh identities

05 Feb 2015

As a Software Consultant I need a suitable way to deal with multiple github accounts, their ssh keys and with several source code repositories.

So, I followed the instructions described in the next links and I found a pretty useful way to do this.

I’m very happy with the functionality to continue the git flow as usual. So if you have to deal with the same situation I recommend you following the next steps.

Steps

  1. Register your github accounts
  2. Generate and associate each ssh key per github account
  3. Install and configure the git passport hook
  4. Execute git passport per repository before to making any git operation
  5. Continue the git flow as usual