summary refs log tree commit diff
path: root/config/systemd/user/ssh-agent.service
blob: 5c59cbf0eb8e9ccbbe85a1941a6a9b9948bd6b9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=SSH key agent

[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
# DISPLAY required for ssh-askpass to work
Environment=DISPLAY=:0
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK

[Install]
WantedBy=default.target