Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
bronze
2 months agoNew Contributor
Missing op-ssh-sign-wsl on Windows WSL
Hi team. I am trying to use the 1Password SSH Agent with WSL2, but I keep getting this error when SSH is invoked: fatal: cannot exec '/mnt/c/Users/bronze/AppData/Local/1Password/app/8/op-ssh-sign-...
zealialize
2 months agoNew Contributor
I was also able to sign my commits successfully by using the same settings as ukhan-san.
[gpg "ssh"]
program = /mnt/c/Users/{USERNAME}/AppData/Local/Microsoft/WindowsApps/op-ssh-sign-wsl.exeHowever, this is only my own speculation, but since PATH is configured as shown below, I believe it could be made into a simpler and smarter setup.
$ echo "${PATH//:/$'\n'}" | sort -u | sed -E 's|(/Users/)[^/]+|\1{USERNAME}|g' | grep /AppData/Local/Microsoft/WindowsApps
/mnt/c/Users/{USERNAME}/AppData/Local/Microsoft/WindowsAppsTherefore, we were able to confirm that it works with the following settings as well.
[gpg "ssh"]
program = op-ssh-sign-wsl.exeThis is just my own guess, so for now I’d like to get by with this simple setup and wait for the official announcement.