Author: @theforbiddenpool
				Language/File type: INI (.ini, .inf, .cfg)
			
Description
				Run ssh-agent as a systemd per-user service.
Save it under ~/.config/systemd/user or /etc/systemd/user.
Source: https://github.com/theforbiddenpool/dotfiles/tree/master/systemd
			
Code
				
			 1
 2
 3
 4
 5
 6
 7
 8
 9
10
[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