dotfiles/.config/systemd/user/ssh-agent.service
Jonas Forsberg 3d6de6bf4b
created ssh-agent user systemd unit
ssh-agent is now a user systemd unit and added ./ssh/config
to dotfiles
2021-11-14 11:41:50 +01:00

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