Development SCM Git [Git] Using Multiple SSH Keys on GitHub

Overview

This post covers how to use multiple SSH keys on GitHub.

Steps

1. Add the Following Lines to ~/.ssh/config

Host github.com-user1
	HostName github.com
	User git
	IdentityFile ~/.ssh/id_rsa_user1

2. Verify It Works

git clone git@github.com-user1:hacoma/iOS-Project.git

Leave a comment