Start SSH agent on login

This commit is contained in:
2021-04-14 19:51:58 +01:00
parent b0ae8c1ce6
commit ebc44e2cf0
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[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