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
anishlr
3 years agoNew Contributor
Is it possible for 1Password CLI running on WSL to connect with 1Password hosted on Windows?
Right now I can access 1Password on my WSL Debian installation using the CLI. But I have to enter my master password even when Windows is authenticated. I was just curious if it's possible to connect the two (a-la the SSH agent forwarding magic outlined here - https://1password.community/discussion/128023/ssh-agent-on-windows-subsystem-for-linux)
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided
- acjayNew Contributor
This would be huge. I have currently adopted @matfax's solution, which works. I haven't used any CLI plugins yet. But generally, I think having a turnkey solution for WSL would be really useful.
- btmurrellNew Contributor
bump. +1 for me. we all expect this to "just work". for me, the ability to have a real shell vis a vi WSL is the only reason this programmer is using Windows. To my understanding, there's a pipeline btwn the WSL environment and Windows (be it ports or binary compatibility), but having op cli available in WSL, connecting to the Windows 1p app is a critical piece.
- Former Member
has there been any progress since then? has any kind of roadmap been prepared?
it would be very nice to be able to use the 1password CLI via WSL2, especially the shell plugins
- Former Member
I also would love to see this released ! Windows co-workers wait for this !
- Former Member
What I found is that it works if you create a symlink in your WSL machine, pointing to op.exe on your Windows host:
ln -s /mnt/c/Users/user/AppData/Local/Microsoft/WinGet/Links/op.exe /home/user/.local/bin/op
It works with other Linux commands (in opposite to alias), and in particular with ansible.
- Former Member
+1
- Former Member
+1
- StanzillaNew Contributor
Would love to see this as well
- Former Member
Thank you everyone for chiming in!
We'll let you know once we have more details here.
- Former Member
+1