Skip to content

Add support for aliased paths, particularly for Win32-OpenSSH. #130

@WSLUser

Description

@WSLUser

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.

Metadata

Metadata

Assignees

Labels

more info neededMore information needed to proceed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions