cumin: use %t, thanks @lelutin authored by anarcat's avatar anarcat
......@@ -88,12 +88,13 @@ After=network.target
ExecStart=-/usr/bin/ssh -W localhost:8080 puppetdb-01.torproject.org
StandardInput=socket
StandardError=journal
Environment=SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
Environment=SSH_AUTH_SOCK=%t/gnupg/S.gpg-agent.ssh
```
In the file above, change the path given to `SSH_AUTH_SOCK` so that it matches
your user ID. This environment variable is necessary for the ssh command to be
able to request the key from your yubi key.
The `Environment` variable is necessary for the ssh command to be able
to request the key from your YubiKey, this may vary according to your
authentication system. It's only there because systemd might not have
the right variables from your environment, depending on how it's started.
And you'll need the following for socket activation, in
`~/.config/systemd/user/puppetdb-tunnel.socket`:
......
......