mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-02 18:42:34 +00:00
sync
This commit is contained in:
@@ -35,7 +35,7 @@ systemd.user.services.ssh-proxy = {
|
|||||||
Unit = {
|
Unit = {
|
||||||
Description = "WSL Proxy";
|
Description = "WSL Proxy";
|
||||||
};
|
};
|
||||||
Service = {
|
serviceConfig = {
|
||||||
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
||||||
rm -f /tmp/.ssh-sock
|
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
|
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