fix(wsl): disable systemd-ssh-proxy ssh_config include #13
Reference in New Issue
Block a user
Delete Branch "fix/wsl-ssh-systemd-proxy-include"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The NixOS-WSL store is a read-only VHD whose files are owned by nobody
(65534), not root. programs.ssh.systemd-ssh-proxy.enable (default true)
adds
Include <systemd>/lib/systemd/ssh_config.d/20-systemd-ssh-proxy.confto /etc/ssh/ssh_config. OpenSSH permission-checks Include'd config files
and rejects any not owned by root or the caller, so the nobody-owned
include fails with "Bad owner or permissions" and breaks ssh/git for
every command.
Disable it on the WSL host: the proxy plugin only serves
ssh unix/…/vsockconnections to local machined VMs, which WSL does not use. Otherhosts keep the default (root-owned store, include works).
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com