me·ta·phil, der<p>Now THIS came in handy: </p><p>wsl-ssh-pageant<br>🌐 <a href="https://github.com/benpye/wsl-ssh-pageant" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/benpye/wsl-ssh-page</span><span class="invisible">ant</span></a></p><p># How to use with <a href="https://chaos.social/tags/WSL" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WSL</span></a></p><p>1. On the <a href="https://chaos.social/tags/Windows" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Windows</span></a> side start <a href="https://chaos.social/tags/Pageant" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Pageant</span></a> (or compatible agent such as <a href="https://chaos.social/tags/gpg4win" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gpg4win</span></a>).</p><p>2. Run wsl-ssh-pageant.exe --wsl C:\my_path\ssh-agent.sock (max ~100 characters)</p><p>3. In WSL export the SSH_AUTH_SOCK environment variable to point at the socket</p><p>$ export SSH_AUTH_SOCK=/mnt/c/my_path/ssh-agent.sock</p><p>Tada! 🎺 </p><p><a href="https://chaos.social/tags/ssh" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ssh</span></a> <a href="https://chaos.social/tags/lifehack" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lifehack</span></a> <a href="https://chaos.social/tags/work" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>work</span></a> <a href="https://chaos.social/tags/nifty" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nifty</span></a> <a href="https://chaos.social/tags/putty" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>putty</span></a> <a href="https://chaos.social/tags/auth" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>auth</span></a> <a href="https://chaos.social/tags/tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tech</span></a> <a href="https://chaos.social/tags/golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>golang</span></a> <a href="https://chaos.social/tags/linux" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>linux</span></a></p>