SSH and GPG Relay inside WSL2 with systemd boot
·2 mins
In this post I will explain how I’m using the Windows OpenSSH and Gpg4Win agents inside WSL2 with systemd. This post is not explained in detail and serves mainly as a reference manual for future setups.
Download npiperelay and wsl-ssh-pageant. Place both in a suitable directory on the windows side. I created C:\tools for that purpose. Configure wsl-ssh-pageant for autostart. I chose a simple shortcut in the startup directory for that.