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

11 lines
188 B
SYSTEMD
Raw Normal View History

[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