mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
sync
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user