Forum Discussion

afrisch's avatar
afrisch
Occasional Contributor
3 days ago

More direct support for ssh under WSL

The official recommendation to be able to use the 1P ssh-agent from WSL is actually to use the Windows ssh.exe : https://developer.1password.com/docs/ssh/integrations/wsl/

This works for common uses of ssh, but ssh.exe is not a full replacement of the Linux version. For instance, it breaks Ansible : https://github.com/ansible/ansible/issues/82200 

We are currently using some hack similar to the one described in https://stuartleeks.com/posts/wsl-ssh-key-forward-to-windows/ , based on npiperelay and socat, to keep using the Linux ssh, only forwarding ssh-agent requests to Windows. This works well, but it forces a dependency to a third-party tool, which becomes critical for security reasons.

Given that the 1P team seems to be investing a lot in developer support, I was wondering if something is planned to get a more packaged experience for using the real Linux ssh  + the 1P Windows ssh-agent, for Windows/WSL developers. Perhaps just emulating a Linux ssh-agent that does the forwarding, similar to the solution with npiperelay+socat, but shipped with 1Password?

No RepliesBe the first to reply