# Company
Host workgl
HostName gitlab.company.com
User git
RSAAuthentication yes
IdentityFile ~/.ssh/id_rsa
# antx Gitlab
Host antxgl
HostName 192.168.178.23
User git
IdentityFile ~/.ssh/id_rsa_antx
The upper one is the one that works. The “RSAAuthentication yes” line was always in there and never made problems. I removed this line for the lower one, but to no avail.