Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
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
22 days 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_Phil18 days ago
Moderator
Hi 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