Last active
August 14, 2023 10:35
-
-
Save ervinne13/ca30890107f8c060b0678a484eb71969 to your computer and use it in GitHub Desktop.
Supporting multiple github ssh
This file contains 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
# Personal GitHub account | |
Host github.com | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/id_ed25519_personal | |
# Work GitHub account | |
Host github.com-work | |
HostName github.com | |
User git | |
IdentityFile ~/.ssh/id_ed25519_client_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vim ~/.ssh/config