Skip to main content
December 17, 2022
Question

Is it possible for 1Password CLI running on WSL to connect with 1Password hosted on Windows?

  • December 17, 2022
  • 41 replies
  • 12150 views

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

41 replies

Jack_P_1P
1Password Employee
January 31, 2023

Hey folks,

Thanks for sharing your interest! I know it's something I'd love to see as well, so I'll add your feedback. 🙂

Jack

February 22, 2023

I'm also interested. Using AWS CLI with 1Pass would be great.
Thanks

PurplProto
February 26, 2023

+1 Would love to see this as well. Seeing that 1Pass has other developer friendly features i.e the VSCode extension, secrets and ssh-agent (while unofficially supported, can be utilised in WSL) to name what first comes to mind, I think this would be a fantastic addition to the toolkit! 😊

Jack_P_1P
1Password Employee
March 9, 2023

Hi @PurplProto and @jefoso:

Thanks for sharing! 🙂

Jack

March 14, 2023

+1

I have been using the hackish solution for ssh agent and it's a breeze. Would love seeing the full 1Password CLI working on WSL.

March 14, 2023

Btw, here's a new solution that doesn't depend on a separate sudoauth alias.

https://gist.github.com/matfax/8853783a56aa886d7019d7b8024437ad

The howto script is not meant for automatic execution, just as a guideline. It's best if you just edit the respective files manually, and don't forget substituting your own item identity.

Jack_P_1P
1Password Employee
March 24, 2023

Thanks for sharing!

Jack

July 2, 2023

+1

July 3, 2023

+1

July 13, 2023

+1