Skip to content

Instantly share code, notes, and snippets.

@ervinne13
Last active August 14, 2023 10:35
Show Gist options
  • Save ervinne13/ca30890107f8c060b0678a484eb71969 to your computer and use it in GitHub Desktop.
Save ervinne13/ca30890107f8c060b0678a484eb71969 to your computer and use it in GitHub Desktop.
Supporting multiple github ssh
# 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
@ervinne13
Copy link
Author

vim ~/.ssh/config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment