Hello,
First of all, thank you for this feature, I absolutely love it ! I'm using it both on my Windows and my Mac and it works like a charm. Excellent work guys :-)
I was wondering if it would be possible to have it work on WSL, any idea ?
Thanks !
Tristan
1Password Version: 8.7.0-2
Extension Version: 2.0.0
OS Version: Windows 11
Comments
Hey Tristan!
I was actually working on this myself tonight, here's what I did.
OS: Windows 11 21H2
WSL 2 Ubuntu 20.04.3 LTS
Big big big shoutout to https://1password.community/discussion/comment/629936
ssh-add -l
Should see your 1password ssh keysFrom here Git and SSH in your Ubuntu instance should default to the 1password ssh-agent, with fallback to id_rsa (or whatever is configured in ur /etc/ssh config file.
Hope this helps!!
Matt
I don't know how to upvote this, but honestly: this should be added to the 1password official documentation. Such a critical piece of information for devs who use WSL. Thank you so so much!
FYI for developers stumbling their way here:
if you use the scoop package manager for Windows, you can now just install
npiperelay
using theextras
bucket 😄would be great if someone can create an install for the native Windows package manager, winget 👌. No idea if WSL + 1Password will ever be a thing ;/
This script works in Debian WSL, but, does not work on Rocky Linux 9 as a WSL instance. Every time I try to ssh to a remote server, I see error messages
My commands are:
The result is
When I run
ssh-add -l
, then I got this error message.I was able to get this working in Ubuntu WSL (with a very minor step added of creating a
~/.ssh
folder if you don't already have one), and bothssh-add -l
andssh -T [email protected]
work just fine. When I actually go to do an action ingit
however, I'm still prompted to log in. Does anyone know why that might be?Update: I'm a dummy, this had nothing to do with 1Password. I was trying to use an HTTPS repo instead of an SSH one...
Team Member
Hi @yami759:
Glad to hear you were able to get it figured out. Feel free to get in touch if there's anything else we can help you with.
Jack