From 8192ce12e0f6b827e9cf11949a775e2de8ae5e12 Mon Sep 17 00:00:00 2001 From: nl6720 Date: Fri, 8 Mar 2024 16:33:36 +0200 Subject: [PATCH] contrib/services/user/ssh-tpm-agent.service: fix SSH_AUTH_SOCK path ssh-tpm-agent defaults to `$XDG_RUNTIME_DIR/ssh-tpm-agent.sock`. --- contrib/services/user/ssh-tpm-agent.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/services/user/ssh-tpm-agent.service b/contrib/services/user/ssh-tpm-agent.service index caa5bff..b2a5469 100644 --- a/contrib/services/user/ssh-tpm-agent.service +++ b/contrib/services/user/ssh-tpm-agent.service @@ -5,7 +5,7 @@ Documentation=man:ssh-agent(1) man:ssh-add(1) man:ssh(1) Requires=ssh-tpm-agent.socket [Service] -Environment=SSH_AUTH_SOCK=%t/ssh-tpm-agent.socket +Environment=SSH_AUTH_SOCK=%t/ssh-tpm-agent.sock ExecStart={{.GoBinary}} PassEnvironment=SSH_AGENT_PID SuccessExitStatus=2