diff options
Diffstat (limited to 'ssh/.config/systemd/user/ssh-agent.service')
-rw-r--r-- | ssh/.config/systemd/user/ssh-agent.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ssh/.config/systemd/user/ssh-agent.service b/ssh/.config/systemd/user/ssh-agent.service new file mode 100644 index 0000000..8d45631 --- /dev/null +++ b/ssh/.config/systemd/user/ssh-agent.service @@ -0,0 +1,11 @@ +[Unit] +Description=SSH key agent + +[Service] +Type=simple +Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket +Environment=DISPLAY=:0 +ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK + +[Install] +WantedBy=default.target |