mirror of
https://github.com/sstent/vmimages.git
synced 2026-02-16 20:25:32 +00:00
sync
This commit is contained in:
@@ -81,7 +81,7 @@ programs = {
|
|||||||
#keybase service &
|
#keybase service &
|
||||||
|
|
||||||
# wsl-ssh-agent-relay start
|
# wsl-ssh-agent-relay start
|
||||||
# export SSH_AUTH_SOCK=~/.ssh/wsl-ssh-agent.sock
|
export SSH_AUTH_SOCK=~/.ssh/wsl-ssh-agent.sock
|
||||||
ssh-add -l
|
ssh-add -l
|
||||||
|
|
||||||
'';
|
'';
|
||||||
@@ -105,8 +105,8 @@ programs = {
|
|||||||
Unit = { Description = "WSL Proxy"; };
|
Unit = { Description = "WSL Proxy"; };
|
||||||
Service = {
|
Service = {
|
||||||
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
ExecStart = "${pkgs.writeShellScript "start-proxy" ''
|
||||||
rm -f /tmp/.ssh-sock
|
rm -f /home/sstent/.ssh/wsl-ssh-agent.sock
|
||||||
setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/tmp/.ssh-sock,fork EXEC:"npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
|
setsid ${pkgs.socat}/bin/socat UNIX-LISTEN:/home/sstent/.ssh/wsl-ssh-agent.sock,fork EXEC:"npiperelay.exe -ei -s //./pipe/openssh-ssh-agent",nofork
|
||||||
''}";
|
''}";
|
||||||
};
|
};
|
||||||
#Install = { WantedBy = [ "default.target" ]; };
|
#Install = { WantedBy = [ "default.target" ]; };
|
||||||
|
|||||||
Reference in New Issue
Block a user