ssh agent inside wsl

LeighK
LeighK
Community Member
edited November 2023 in SSH

So I got excited when I saw the tweet today about support for using the 1P ssh agent from inside WSL. I've been using a hack (probably the same one as everyone else) to forward the agent connection outside the WSL container. Having an "official" way to do it seemed like it'd be awesome.

While I appreciate the work that went into it, to say I'm a little underwhelmed... is an understatement. Just calling the Windows OpenSSH binaries is just another hack, and one which doesn't really work with my workflow. I have a bunch of config options in my .ssh/config, and since Windows SSH doesn't understand my Linux home directory it keeps looking at paths where $HOME and ~ is actually c:\users\myusername, not /home/mylinuxuser. I can probably fool around with this using aliases or other environmental variables, but at that point I've just replaced once hack with another. So for now, unless I'm missing something, I'll stick with the hack that works for me.


1Password Version: 8.10.20
Extension Version: Not Provided
OS Version: Windows 11
Browser: Not Provided

This discussion has been closed.