From a2e47a9258f0337dc4b9188c4aaa9b939d8257de Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Wed, 7 Jun 2023 09:26:41 +0200 Subject: [PATCH] remove ssh-agent service (using keychain now) --- .../user/default.target.wants/ssh-agent.service | 1 - user-services/.config/systemd/user/ssh-agent.service | 11 ----------- .../.config/systemd/user/ssh-agent.service~ | 12 ------------ 3 files changed, 24 deletions(-) delete mode 120000 user-services/.config/systemd/user/default.target.wants/ssh-agent.service delete mode 100644 user-services/.config/systemd/user/ssh-agent.service delete mode 100644 user-services/.config/systemd/user/ssh-agent.service~ diff --git a/user-services/.config/systemd/user/default.target.wants/ssh-agent.service b/user-services/.config/systemd/user/default.target.wants/ssh-agent.service deleted file mode 120000 index 55f6a27..0000000 --- a/user-services/.config/systemd/user/default.target.wants/ssh-agent.service +++ /dev/null @@ -1 +0,0 @@ -/home/tony/.config/systemd/user/ssh-agent.service \ No newline at end of file diff --git a/user-services/.config/systemd/user/ssh-agent.service b/user-services/.config/systemd/user/ssh-agent.service deleted file mode 100644 index c8b14d2..0000000 --- a/user-services/.config/systemd/user/ssh-agent.service +++ /dev/null @@ -1,11 +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 -ExecStart=/usr/bin/ssh-agent -D -a $SSH_AUTH_SOCK - -[Install] -WantedBy=default.target \ No newline at end of file diff --git a/user-services/.config/systemd/user/ssh-agent.service~ b/user-services/.config/systemd/user/ssh-agent.service~ deleted file mode 100644 index e9ec668..0000000 --- a/user-services/.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 \ No newline at end of file