diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-15 01:37:07 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-08-15 01:37:10 +0200 |
commit | 788f931a6fee95aa6d6cdd5e4a3a7c2c0045d430 (patch) | |
tree | fef004216b929d6dc45e13eb94d4dee8988081ab /%HOME% | |
parent | .profile: remove ssh-agent configuration (diff) | |
download | linux-home-788f931a6fee95aa6d6cdd5e4a3a7c2c0045d430.tar.gz linux-home-788f931a6fee95aa6d6cdd5e4a3a7c2c0045d430.zip |
systemd: remove ssh-agent service
I haven't actually used it in forever.
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.config/systemd/user/ssh-agent.service | 21 |
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 |