forward 1password of local host onto remote connection
I sometimes work with servers (via ssh) where I want to access some secrets stored in 1password. I would like to have a tunnel between the local and the remote so that I can use op
or some op
-like cli by authenticating on my host computer. Is something like this possible?
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser: Not Provided
Comments
-
I asked a similar question a while back and it's apparently not supported by 1Password out of the box.
My solution for this is to run
op
over ssh to the host where I'm logged in locally running the 1Password desktop. See here for details.Depending on your needs, if you're not able to ssh back to your desktop host from the remote server, you may be able to setup a reverse tunnel via ssh port forwarding, then ssh back to your host using the tunnel.
I'm still curious if there's a better way to do this. Ideally, proxying 1Password CLI over SSH should work similarly as ssh agent forwarding, which is what I tried to emulate with my solution.
0