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

13 lines
240 B
SYSTEMD
Raw Normal View History

2016-10-10 19:24:59 +02:00
[Unit]
Description=SSH key agent
[Service]
Type=forking
Environment=SSH_AUTH_SOCK=%h/.ssh/ssh_auth_sock
ExecStartPre=/usr/bin/rm -f $SSH_AUTH_SOCK
2019-10-19 12:36:29 +02:00
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK -t 18200
2016-10-10 19:24:59 +02:00
[Install]
WantedBy=default.target