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

11 lines
187 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
[Install]
WantedBy=default.target