[Unit] Description=ssh-agent [Service] Type=simple Environment=SSH_AUTH_SOCK=%t/ssh-agent Environment=DISPLAY=:0 ExecStart=/usr/bin/ssh-agent -d -a $SSH_AUTH_SOCK [Install] WantedBy=default.target