If you get “Could not open a connection to your authentication agent“, try:
eval `ssh-agent -s` | ssh-add ~/.ssh/you_id_rsa_private_key
=> It works on Ubuntu 16, 18 and Debian
Still a bug ?
Try:
ssh -vvvT git@gitlab.com

International SEO Consultant (Freelance)
Founder of Kelogs, a SaaS SEO Crawler & Log Analyzer
Over 15 years of SEO experience
Read more about me, myself and I.