Protect what matters – even after you're gone. Make a plan for your digital legacy today.
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
4 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.gitit 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
4 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