From c030709692ab7ad78258d411b543c169a1592470 Mon Sep 17 00:00:00 2001 From: datalore Date: Wed, 31 Jan 2024 20:14:22 +0100 Subject: [PATCH] Added ssh-agent user service --- .config/systemd/user/ssh-agent.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .config/systemd/user/ssh-agent.service diff --git a/.config/systemd/user/ssh-agent.service b/.config/systemd/user/ssh-agent.service new file mode 100644 index 0000000..f496c73 --- /dev/null +++ b/.config/systemd/user/ssh-agent.service @@ -0,0 +1,10 @@ +[Unit] +Description=SSH agent + +[Service] +Type=simple +Environment=SSH_AUTH_SOCK=%t/ssh-agent.sock +ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK + +[Install] +WantedBy=default.target