My problem was that I had a DNS entry for gitlab.example.com
to point to my load balancer. So when I tried command ssh [email protected]
I was really connecting to the wrong machine.
I made an entry in my ~/.ssh/config
file:
Host gitlab.example.com
Hostname 192.168.1.50
That wasted a lot of time...