dlech / KeeAgent

ssh agent plugin for KeePass 2.x
http://lechnology.com/software/keeagent
Other
534 stars 35 forks source link

WSL compatible socket file not working #357

Closed skupr closed 2 years ago

skupr commented 2 years ago

I've tried to use a recently added KeaAgent option "Create WSL compatible socket file", but failed to get it working.

KeeAgent options: image

Here's how it looks like from the WSL console:

$ export SSH_AUTH_SOCK=/mnt/d/.ssh-agent-wsl.socket
$ ssh-add -l
Error connecting to agent: Connection refused
$ ls -l /mnt/d/.ssh-agent-wsl.socket
-rwxrwxrwx 1 stask stask 0 Sep 18 14:53 /mnt/d/.ssh-agent-wsl.socket*

KeePass version: 2.52 KeeAgent version: 0.13.1.0 Windows version: Windows 10 Pro WSL2 - Ubuntu 22.04

Can you please help me with setting it up?

dlech commented 2 years ago

It only works with WSL1. Also see #339.

skupr commented 2 years ago

@dlech thank you! I would then suggest to explicitly label this option in UI that this is for WSL version 1. This may prevent users from confusion and avoid having more duplicate issues in GitHub )