2024-01-10 15:29:37 +08:00
|
|
|
[Unit]
|
|
|
|
Description=SSH key agent
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
|
2024-01-10 21:07:26 +08:00
|
|
|
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK -t 6h
|
2024-01-10 15:29:37 +08:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|