Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
teh_c
4 years agoNew Contributor
[Windows] WSL integration possible using some extra tools
Hello!
Just a note to say that by using a few extra tools (the security implications I still need to understand, caveat emptor etc.), I was able to get the SSH integration working fantasically wel...
Former Member
3 years agoHey there,
I've successfully added Github SSH via 1Password on cmd.exe, but fail to do so in WSL2 (ubuntu).
I've followed the outlined steps:
- npipereleay accessible from path in Windows
- socat installed in WSL
However, WSL doesn't get access to my keys in 1P. Can someone tell my what's wrong with this setup?
```
$ ssh git@github.com:
git@github.com: Permission denied (publickey).
$ git pull:
error: unsupported value for gpg.format: ssh
fatal: bad config variable 'gpg.format' in file '/home/jannik/.gitconfig' at line 2
``
gpg.format = ssh` in WSL, I get no error while pulling but still can't ssh to git@github.com
When I remove the
My .gitconfig at "C:\Users\
[gpg]
format = ssh
[gpg "ssh"]
program = C:\\Users\\<user>\\AppData\\Local\\1Password\\app\\8\\op-ssh-sign.exe
[commit]
gpgsign = true
[user]
signingkey = ssh-ed25519
name = username
email = email@gmx.de
[core]
editor = \"C:\\Users\\<user>\\AppData\\Local\\Programs\\Microsoft VS Code\\bin\\code\" --wait
sshCommand= C:/Windows/System32/OpenSSH/ssh.exe
$ socat UNIX-LISTEN:$SSH_AUTH_SOCK,fork EXEC:"npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork &
[1] 3305
2022/09/11 14:43:23 socat[3304] E "/home/<user>/.ssh/agent.sock" exists