add ssh-agent

This commit is contained in:
Barak Michener 2017-12-15 14:42:06 -08:00
parent 8bc5ba4e12
commit 17fcf842da
3 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1 @@
/home/barak/.config/systemd/user/ssh-agent.service

View file

@ -0,0 +1,10 @@
[Unit]
Description=SSH key agent
[Service]
Type=forking
Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK
[Install]
WantedBy=default.target