1
1
mirror of https://github.com/rywng/dotfiles.git synced 2024-11-15 07:21:49 +08:00
dotfiles/.config/systemd/user/ssh-agent.service

11 lines
193 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 -t 6h
[Install]
WantedBy=default.target