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

11 lines
188 B
SYSTEMD
Raw Permalink 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