Add systemd service for ssh-agent

This commit is contained in:
RealStickman 2021-10-24 13:43:03 +02:00
parent 60b869a8cd
commit 47437ac0f7

View File

@ -0,0 +1,10 @@
[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target