(SystemD)+ssh-agent service
Integrates into .zshrc to create a consistent ssh experience without the stupid passwords.
This commit is contained in:
10
SystemD/.config/systemd/user/ssh-agent.service
Normal file
10
SystemD/.config/systemd/user/ssh-agent.service
Normal 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
|
||||||
Reference in New Issue
Block a user