X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2dae4f7a2e681fc9e06d0771e50f4876a93c1dbc..172cfbb4b15794f9dd12a4531e6ba6b8f0edbb2a:/systemd/user/ssh-agent.service diff --git a/systemd/user/ssh-agent.service b/systemd/user/ssh-agent.service index 08b7dcb..df24fe9 100644 --- a/systemd/user/ssh-agent.service +++ b/systemd/user/ssh-agent.service @@ -3,7 +3,7 @@ Description=SSH key agent [Service] Type=forking -Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket +PassEnvironment=SSH_AUTH_SOCK ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK -t 1h [Install]