aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-15 01:37:07 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-15 01:37:10 +0200
commit788f931a6fee95aa6d6cdd5e4a3a7c2c0045d430 (patch)
treefef004216b929d6dc45e13eb94d4dee8988081ab
parent.profile: remove ssh-agent configuration (diff)
downloadlinux-home-788f931a6fee95aa6d6cdd5e4a3a7c2c0045d430.tar.gz
linux-home-788f931a6fee95aa6d6cdd5e4a3a7c2c0045d430.zip
systemd: remove ssh-agent service
I haven't actually used it in forever.
-rw-r--r--%HOME%/.config/systemd/user/ssh-agent.service21
1 files changed, 0 insertions, 21 deletions
diff --git a/%HOME%/.config/systemd/user/ssh-agent.service b/%HOME%/.config/systemd/user/ssh-agent.service
deleted file mode 100644
index 0b2e9bc..0000000
--- a/%HOME%/.config/systemd/user/ssh-agent.service
+++ /dev/null
@@ -1,21 +0,0 @@
-# Enable: systemd --user enable ssh-agent
-# Start: systemd --user start ssh-agent
-
-# Make sure SSH_AUTH_SOCK is set to "$XDG_RUNTIME_DIR/ssh-agent.socket".
-# You can do this by adding it to ~/.profile (the usual way) or
-# ~/.pam_environment:
-# * "SSH_AUTH_SOCK DEFAULT=${XDG_RUNTIME_DIR}/ssh-agent.socket", or, if it
-# doesn't work,
-# * "SSH_AUTH_SOCK DEFAULT=/run/user/1000/ssh-agent.socket" (replace "1000"
-# with your UID).
-
-[Unit]
-Description=OpenSSH 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