summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Gassner <justin.gassner@mailbox.org>2024-01-10 01:15:14 +0100
committerJustin Gassner <justin.gassner@mailbox.org>2024-01-10 01:15:14 +0100
commit81558a4cd24c9020ef8202e856712381f0028b81 (patch)
tree5d4be9526d4b77d2e61fd2c87fe52e13ce899c49
parent7ff0fbbde5c2772538fb140f8a22035f64a8945e (diff)
downloaddotfiles-81558a4cd24c9020ef8202e856712381f0028b81.tar.zst
ssh-agent.service is now preinstalled with OpenSSH
l---------.config/systemd/user/default.target.wants/ssh-agent.service2
-rw-r--r--.config/systemd/user/ssh-agent.service12
2 files changed, 1 insertions, 13 deletions
diff --git a/.config/systemd/user/default.target.wants/ssh-agent.service b/.config/systemd/user/default.target.wants/ssh-agent.service
index 8124097..b23e266 120000
--- a/.config/systemd/user/default.target.wants/ssh-agent.service
+++ b/.config/systemd/user/default.target.wants/ssh-agent.service
@@ -1 +1 @@
-/home/justin/.config/systemd/user/ssh-agent.service \ No newline at end of file
+/usr/lib/systemd/user/ssh-agent.service \ No newline at end of file
diff --git a/.config/systemd/user/ssh-agent.service b/.config/systemd/user/ssh-agent.service
deleted file mode 100644
index 5c59cbf..0000000
--- a/.config/systemd/user/ssh-agent.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=SSH key agent
-
-[Service]
-Type=simple
-Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket
-# DISPLAY required for ssh-askpass to work
-Environment=DISPLAY=:0
-ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK
-
-[Install]
-WantedBy=default.target