Using multiple SSH keys with git

Tim Pizey from Tim Pizey

The problem I have is that I have multiple accounts with git hosting suppliers (github and bitbucket) but they both want to keep a one to one relationship between users and ssh keys.

For both accounts I am separating work and personal repositories.

Github

BitBucket

In the past I have authorised all my identities on all my repositories, this has resulted in multiple identities being used within one repository which makes the statistics look a mess.

The Solution

Generate an ssh key for your identity and store it in a named file for example ~/.ssh/id_rsa_timp.

Add the key to your github or bitbucket account.

Use an ssh config file ~/.ssh/config


Host bitbucket.timp
HostName bitbucket.com
User git
IdentityFile ~/.ssh/id_rsa_timp
IdentitiesOnly=yes

You should now be good to go:

git clone git@bitbucket.timp:timp/project.git

Update .git/config

[remote "bitbucket"]
url = git@bitbucket.timp:timp/wiki.git
fetch = +refs/heads/*:refs/remotes/bitbucket/*

Speaking: Juce Summit

Pete Goodliffe from Pete Goodliffe

I'm giving a "guest talk" at the Juce Summit on the 19th November. Juce is a great C++ framework that's particularly well suited to audio application development.

I'll be giving a specially crafted version of one of my favourite talks - this time called "Becoming a Better (audio) Programmer". I hope it'll be a lot of fun!


There's a lot going on at this conference - and a heroically packed schedule. Check it out here: http://www.juce.com/summit.

ResOrg 2.0.6.25 has been released

Products, the Universe and Everything from Products, the Universe and Everything

This is a maintenance update for ResOrg 2.0. The following changes are included:

  • Added support for Visual Studio 2015.

  • Added support for Windows 10.

  • Added a helpfile.

  • Removed support for Windows 2000.

  • ResOrgApp now declares itself as system DPI aware to reduce the likelihood of DPI virtualization.

  • Icons used within the ResOrg displays now reflect the current system defined icon sizes rather than being hardcoded to 16x16, 32x32 etc.

  • Tweaked the layout of the AboutBox.

Download ResOrg 2.0.6.25

ResOrg 2.0.6.25 has been released

Products, the Universe and Everything from Products, the Universe and Everything

This is a maintenance update for ResOrg 2.0. The following changes are included:

  • Added support for Visual Studio 2015.
  • Added support for Windows 10.
  • Added a helpfile.
  • Removed support for Windows 2000.
  • ResOrgApp now declares itself as system DPI aware to reduce the likelyhood of DPI virtualization.
  • Icons used within the ResOrg displays now reflect the current system defined icon sizes rather than being hardcoded to 16x16, 32x32 etc.
  • Tweaked the layout of the AboutBox.

Download ResOrg 2.0.6.25

ResOrg 2.0.6.25 has been released

Products, the Universe and Everything from Products, the Universe and Everything

This is a maintenance update for ResOrg 2.0. The following changes are included:

  • Added support for Visual Studio 2015.
  • Added support for Windows 10.
  • Added a helpfile.
  • Removed support for Windows 2000.
  • ResOrgApp now declares itself as system DPI aware to reduce the likelyhood of DPI virtualization.
  • Icons used within the ResOrg displays now reflect the current system defined icon sizes rather than being hardcoded to 16x16, 32x32 etc.
  • Tweaked the layout of the AboutBox.

Download ResOrg 2.0.6.25

ResOrg 2.0.6.25 has been released

Products, the Universe and Everything from Products, the Universe and Everything

This is a maintenance update for ResOrg 2.0. The following changes are included:
  • Added support for Visual Studio 2015.
  • Added support for Windows 10.
  • Added a helpfile.
  • Removed support for Windows 2000.
  • ResOrgApp now declares itself as system DPI aware to reduce the likelyhood of DPI virtualization.
  • Icons used within the ResOrg displays now reflect the current system defined icon sizes rather than being hardcoded to 16x16, 32x32 etc.
  • Tweaked the layout of the AboutBox.
Download ResOrg 2.0.6.25