Managing multiple SSH GitHub identities

Now I’m involved in multiple businesses, I’m finding I need to frequently juggle multiple SSH key pairs (aka identities) with choose your favourite git offering (e.g. GitHub). When I push and pull to origins on the same machine, I need to alternate the identities I use. The best approach is to use an SSH config file to define host aliases. This lets you seamlessly use different keys without manually switching anything. ...

December 12, 2025 · 2 min