dotfiles/.config/systemd/user/ssh-agent.service
2023-06-06 12:18:49 +02:00

14 lines
312 B
Desktop File

[Unit]
Description=SSH key agent
[Service]
Type=simple
Restart=on-failure
Environment=DISPLAY=:0
Environment=WAYLAND_DISPLAY=wayland-0
Environment=SSH_ASKPASS=/usr/bin/ksshaskpass
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target