Skip to main content
Jul 9, 2022 6:31 PM UTC
Question

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

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

1 reply

Jul 9, 2022 7:39 PM UTC

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.