From 708f3b91f868b341bc82101c1bf50c1fb9af8fdb Mon Sep 17 00:00:00 2001 From: xyz Date: Fri, 2 Apr 2021 01:35:55 -0700 Subject: add ssh-agent.service --- .config/systemd/user/ssh-agent.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .config/systemd/user/ssh-agent.service (limited to '.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 00000000..87d6c045 --- /dev/null +++ b/.config/systemd/user/ssh-agent.service @@ -0,0 +1,10 @@ +[Unit] +Description=SSH key agent + +[Service] +Type=forking +Environment=SSH_AUTH_SOCK=%t/ssh-agent.socket +ExecStart=/usr/bin/ssh-agent -a $SSH_AUTH_SOCK + +[Install] +WantedBy=default.target -- cgit v1.2.3-70-g09d2