1password SSH Agent + WSL2?

Community Member
edited May 3 in SSH

Was wondering if any developers has had any luck configuring the newly introduced ssh-agent for 1password for any WSL2 work? This thing is incredible and works seamlessly! Would love to configure it for my WSL instances.

For some context, I've been using wincrypt-sshagent to configure & forward SSH_AUTH_SOCK from WSL to-and-from Windows Certificates. This works only for x509 certs on the PC or on smartcards.

1Password Version: 80600068
Extension Version: Not Provided
OS Version: Windows 11 Home


  • floris_1Pfloris_1P

    Team Member

    We'll be adding UNIX socket support for Windows too in the future. In the mean time, while we cannot 'officially' recommend it, we've been hearing some good responses about using socat & npiperelay to forward SSH requests to the OpenSSH pipe, see this blog post.

  • smplkiiismplkiii
    Community Member
    edited September 16

    Hello, is there any news regarding WLS2 support?

    I am trying to make commit signing to work and I am having troubles with both it and with ssh agent

    EDIT: I have managed to make signing work just by upgrading git to the latest version. But in the github commits I do see:

    even if key is added to the settings

  • jody.h_1Pjody.h_1P

    Team Member

    @smplkiii In that box does it show that the commit is signed at all (does it display the "SSH Key Fingerprint")? If not then commit signing has not been configured correctly. If it does show a fingerprint but is unverified, then you'll need to make sure you've uploaded the correct SSH key to GitHub.

  • smplkiiismplkiii
    Community Member

    SSH fingerprint is present and SSH key is added to GitHub account using the following steps:
    1. Navigate to https://github.com/settings/keys
    2. Select “New SSH Key”
    3. Select “Signing Key”
    4. Navigate to the “Key” box and select the 1Password logo
    5. Select “Create SSH Key”, fill in a title and then select “Create and Fill”
    6. Select “Add SSH Key” and you’re all set!

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file