Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post: SSH and GPG Relay inside WSL2 with systemd boot #3

Open
lucasfcnunes opened this issue Sep 11, 2024 · 4 comments
Open

Post: SSH and GPG Relay inside WSL2 with systemd boot #3

lucasfcnunes opened this issue Sep 11, 2024 · 4 comments

Comments

@lucasfcnunes
Copy link

Comments for the post: https://twobiers.github.io/posts/wsl_systemd_gpg_ssh_relay

@lucasfcnunes
Copy link
Author

lucasfcnunes commented Sep 11, 2024

@twobiers

@demonbane
Copy link

@lucasfcnunes -a was added in @NZSmartie's fork. This is the only version that supports it to the best of my knowledge.

If you want to set things up from scratch this is a great summary, but if you want to just get it working you can check out wsl-gpg-systemd (I'm the author). No socat required, just npiperelay and systemd.

@lucasfcnunes
Copy link
Author

lucasfcnunes commented Sep 11, 2024

@lucasfcnunes -a was added in @NZSmartie's fork. This is the only version that supports it to the best of my knowledge.

If you want to set things up from scratch this is a great summary, but if you want to just get it working you can check out wsl-gpg-systemd (I'm the author). No socat required, just npiperelay and systemd.

Here

Download [npiperelay](https://github.com/jstarks/npiperelay) and [wsl-ssh-pageant](https://github.com/benpye/wsl-ssh-pageant).
@twobiers point to @jstarks's.

@twobiers
Copy link
Owner

Good catch, thanks for pointing out. I've updated the link accordingly.

@demonbane You have come up with a cool solution there. Unfortunately I'm not using Windows/WSL at the moment to try it out in practice, but it looks great.

While there are tutorials available for using some combination of socat, wsl-ssh-pageant/wsl2-ssh-pageant, and npiperelay, they are a hassle to set up and very prone to breakage in my experience.

True. I've set this up multiple times in various ways and eventually it broke.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants