dotfiles/ssh-agent-systemd/.config/systemd/user/ssh-agent.service

11 lines
187 B
Desktop File

[Unit]
Description=SSH key agent
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target