Comments (4)
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.
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.
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.
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)
- Why "gpg" in file name? HOT 4
- Feature request: disable clipboard server? HOT 1
- npiperelay.exe doesn't work for WSL 2 starting from Windows 11 22000.318 HOT 2
- Pass name of process? HOT 3
- "communication with agent failed" when trying to connect using SSH in Arch (WSL 2) HOT 10
- wsl-ssh-agent-gui.exe complains of lack of ~/.gclpr directory even if gclpr is not being used HOT 1
- Connection might not work after update to Ubuntu 22.04 HOT 2
- How to use correct key when I have multiple for github.com HOT 4
- 'Error connecting to agent' on one PC but working correctly on another with identical setup HOT 2
- Issues using WSL2 with Ubuntu 22.04 HOT 4
- Chocolatey package possible? HOT 2
- Is this possible with a VM and a samba share? HOT 1
- [Docs] Put `npiperelay.exe` onto Windows filesystem to fix delays HOT 1
- [Question] `npiperelay.exe` build HOT 3
- WSL2 won't get keys despite agent has em HOT 7
- SSH agent forwarding to WSL2 HOT 6
- Problem with wsl2 and systemd HOT 1
- `wsl-ssh-agent-relay` relies on systemd HOT 1
- Following Instruction for npiperelay results in invalid ELF header HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wsl-ssh-agent.