(SystemD)+ssh-agent service

Integrates into .zshrc to create a consistent ssh experience without
the stupid passwords.
This commit is contained in:
2022-01-12 05:39:22 +00:00
parent 8eddca15ff
commit 248a3145c4

View File

@@ -0,0 +1,10 @@
[Unit]
Description=SSH 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