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

11 lines
193 B
SYSTEMD
Raw Normal View History

2024-01-10 15:29:37 +08:00
[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
2024-01-10 15:29:37 +08:00
[Install]
WantedBy=default.target