Looking to configure multiple SSH keys on the same computer? For instance to use a different SSH key for your public and enterprise Github contributions.
This quick little post will show you how to do that.
In this I’m assuming you already have an SSH key setup for your enterprise Github account.
- Create a new SSH key and add it to the ssh-agent
- Update your
~/.ssh/configfile and add a new host:
I’m explicitly defining each host, but you could also assign a SSH key to all remaining hosts using
If this was helpful to you, consider buying me a coffee.