Here's an extremely simple way to access your Pageant SSH agent (such as the GPG one, so you can use your Yubikey or whatever in WSL) from WSL 1.
Assume you're using the root
account.
# In WSL
curl -Lo yolo-ssh-agent.go https://gist.github.com/xWTF/2f74d78da32e361a883f440d19e705d9/raw/yolo-ssh-agent.go
mkdir -p ~/.local/
go build -o ~/.local/yolo-ssh-agent.exe yolo-ssh-agent.go
rm yolo-ssh-agent.go
curl -Lo /etc/init.d/yolo-ssh-agent https://gist.github.com/xWTF/2f74d78da32e361a883f440d19e705d9/raw/yolo-ssh-agent
chmod +x /etc/init.d/yolo-ssh-agent
echo 'service yolo-ssh-agent start >/dev/null 2>&1
export SSH_AUTH_SOCK="/tmp/yolo-ssh-agent.sock"
' >> ~/.bashrc
exit
# In Windows
wsl --shutdown
wsl