-
-
Notifications
You must be signed in to change notification settings - Fork 115
Description
Create a ssh key using Win32-OpenSSH or import from a Linux host to C:\Users\user.ssh. Create an alias link in WSL(2) in your /home/user/.ssh to point to that Windows directory. Verify you can SSH to a remote Linux host if you've ensured ports 22 and 2222 are allowed in the firewall used on Windows (by default it's Windows Firewall and is an easy Powershell command to add). Now install keychain. Restart your WSL session and see this:
* keychain 2.8.5 ~ http://www.funtoo.org
* Starting ssh-agent...
* Adding 1 ssh key(s): /home/user/.ssh/id_rsa
* Error: Problem adding; giving up
For awareness, the Linux distribution I'm using in WSL is Debian and the kernel is at 5.10.16.3.
I'd like this issue to be fixed to allow accepting an aliased path instead of only a direct path. It's also possible this can be repro'd purely from Linux.
@danielrobbins since you're the maintainer, please investigate this when you get a chance and comment here so viewers of this issue can know it's being looked at.