Created
June 11, 2024 03:14
-
-
Save deltorosalazar/64011b740a475c0c55b5dc5a7ac13cc3 to your computer and use it in GitHub Desktop.
Have multiple SSH keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /Users/<user>/.ssh/config | |
Host github.com-<foo> | |
HostName github.com | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/<filename-1> | |
Host github.com-<bar> | |
HostName github.com | |
AddKeysToAgent yes | |
UseKeychain yes | |
IdentityFile ~/.ssh/<filename-2> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment