Skip to content

Problem with ssh key with 1password ssh agent with WSL #446

@pfbernardo1976

Description

@pfbernardo1976

Hi,

I have windows 11 with 1password ssh agent running. I have an ubuntu OS running on WSL and I have setup it to use the windows 1password agent in it (https://developer.1password.com/docs/ssh/integrations/wsl).

This is working. If I run ssh-add -L I see the ssh key I have on my windows 1password.
I can use git to get my code inside the Ubuntu without any problems. I even can ssh my lagoon project using the ssh command directly on the Ubuntu OS so the ssh agent is working correctly inside Ubuntu.

I then installed lagoon cli using brew and ran the lagoon config command.

The problem comes when I try to do lagoon login. It always gives me this error:

ssh: attempting connection using private key: /home/user/.ssh/id_rsa.

I then saved the public key in /home/user/.ssh/lagoon.pub file and changed the lagoon config to use it, following these instructions https://uselagoon.github.io/lagoon-cli/troubleshooting/#specific-key-in-agent.

Same result. Any idea on how to fix it?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions