Update ssh key agent service

master
Hektor Misplon 2022-09-24 12:28:50 +02:00
parent 4733aef8d3
commit e2aa7aaefb
1 changed files with 1 additions and 3 deletions

View File

@ -1,11 +1,9 @@
[Unit] [Unit]
Description=SSH key agent Description=SSH Key agent
[Service] [Service]
Type=simple Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket 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 ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install] [Install]