This commit is contained in:
2023-02-19 15:28:28 -05:00
parent b214133237
commit 62d0d16b1b

View File

@@ -35,7 +35,7 @@ systemd.user.services.ssh-proxy = {
Unit = {
Description = "WSL Proxy";
};
Service = {
serviceConfig = {
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
rm -f /tmp/.ssh-sock
setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/tmp/.ssh-sock,fork EXEC:"/mnt/c/Windows/system32/npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork