Skip to content

Instantly share code, notes, and snippets.

@Rfrixy
Rfrixy / gist:b67280bd2c39fd1cf53618b2be3fabde
Created November 13, 2020 06:17
SSH config -- forward ssh agent and have multiple identities
# Forward agent
Host *
ForwardAgent yes
AddKeysToAgent yes
IdentityFile ~/.ssh/id_rsa
# Multiple identities you will need to add '-personal' yourself to the repository url when cloning
Host gitlab.com
HostName gitlab.com
User git