ssh keys not working for GitLab.com but are working fine for GitHub.com

digitalfiz
digitalfiz
Community Member

I have generated a few different keys of various encryption levels and using different algorithms and I can't seem to get any to work for gitlab, I always get I do not have permissions. If I disable the 1password functionality and use the keys directly from the .ssh folder it works fine so I know the keys work.


1Password Version: 8.7.3
Extension Version: 2.3.7
OS Version: Windows 11
Browser:_ Chrome

Comments

  • digitalfiz
    digitalfiz
    Community Member

    I figured out what it was. I have 2 different GitLab accounts and it was authenticating with the wrong one first and never getting to the other account. It took me testing with ssh -T git@gitlab.com to realize it was working just with the wrong user.

This discussion has been closed.