It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
AlmoEnd
2 years agoDedicated Contributor
1password git support for ssh in WSL2?
I am only able to sync with Github using PATs; for some reason the SSH key is not retrieved, using VSCode with WSL extension, or from a command (zsh) shell I get access denied (publickey) when issuin...
clcavanaugh
3 months agoNew Contributor
Sorry for the little bit of necromancy replying here, it just happened to be near the top of the results when i googled this issue.
I was able to get this working in a similar manner to the way you work with the ssh-agent in WSL (I'm using the Ubuntu LTS version). Basically running
git.exe clone git@gitlab.com:project/project.git
it was able to interact with the ssh-agent.exe setup.
Probably a bit more to it technically but it works. Went ahead and aliased `ssh`->`ssh.exe` and `git` -> `git.exe` and everything works as I'd expect atm.
1P_Phil
Moderator
3 months agoHi clcavanaugh ,
No problems from our side for sure!
Hey, we are glad you were able to get it to work. Drop a note any time!
Thanks,
Phil