Code Monkey home page Code Monkey logo

Comments (4)

rupor-github avatar rupor-github commented on June 1, 2024

Please, read the readme - you are specifically interested in section called "WSL 2 compatibility". I am not sure where your ssh-add gets a list of identities really - looks like you have ssh-agent local to your WSL2 distro running and managed to add your keys there. I am mostly maintaining this program for legacy reasons - it was created at the time of WSL1 when Unix socket interop was working.

from wsl-ssh-agent.

headler avatar headler commented on June 1, 2024

Thanks for the quick reply,
I don't have any locally running ssh-agents - if i try to use ssh-add -l it's showing a proper key added (without local ref file) to the agent:

ssh-add -l
2048 SHA256:qJiJXRM6V5l9pr5gLu9vFW+Cg2f1CStKJk2Gumywsgo  (RSA)

The error (in first message) from ssh -v is saying that socket file isn't available, but i'm sure permissions is OK and it's available for ssh-add. So i'm looking for a ways to troubleshoot it.. Wasn't able to find any other suitable ways to use ssh-agent in WSL2 :|

Thank you

from wsl-ssh-agent.

rupor-github avatar rupor-github commented on June 1, 2024

To use Windows side ssh-agent in WSL2 distro you do not need this program. Instead, you need to bridge Windows named pipe on Windows side and Unix socket on WSL2 side. Readme has an example how to do it. If you need help with this part - please, show exactly what you did to make it happen. From your messages I could see that staff does not work, but I cannot understand what you did to make it work, sorry.

from wsl-ssh-agent.

headler avatar headler commented on June 1, 2024

Well, sorry for disturbance, but it seems the error is caused by the program i'm using in first place - keepass + keeagent plugin.
dlech/KeeAgent#341

I'll investigate this further, thank you for your answers!

from wsl-ssh-agent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.