Skip to content

Instantly share code, notes, and snippets.

@FernandoCutire
Created August 17, 2021 19:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FernandoCutire/4c8589813bef6a5c914706b530fee102 to your computer and use it in GitHub Desktop.
Save FernandoCutire/4c8589813bef6a5c914706b530fee102 to your computer and use it in GitHub Desktop.
✅ Solución: SSH Config -Problemas por múltiples cuentas de git en un mismo ordenador
# GITHUB
Host github.com
HostName github.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/github/id_rsa_pub
# GITLAB
Host gitlab.com
HostName gitlab.com
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa_pub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment