diff options
author | Anthony Wang | 2024-11-24 11:54:28 -0500 |
---|---|---|
committer | Anthony Wang | 2024-11-24 11:54:28 -0500 |
commit | 921982f302da295b02c712aeb0f29b930efe83d4 (patch) | |
tree | 27fc158900ffd3c04c25ffdaccfc21ec08c2990c | |
parent | 201bbcc126a96ce2af6983028f3f71ff839ecafe (diff) |
Make Plasma autostart run ssh-add instead of systemd since Kwallet must be running for ssh-add to succeed
Alternatively, I could add `AddKeysToAgent yes` to `.ssh/config` but this breaks Git signing and (I think, but haven't checked) Dolphin SFTP. Also, then it won't be in my dotfiles.
-rw-r--r-- | autostart/ssh-add.desktop | 4 | ||||
-rw-r--r-- | systemd/user/ssh-agent.service.d/override.conf | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/autostart/ssh-add.desktop b/autostart/ssh-add.desktop new file mode 100644 index 0000000..887a80a --- /dev/null +++ b/autostart/ssh-add.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Name=ssh-add +Exec=ssh-add +Type=Application diff --git a/systemd/user/ssh-agent.service.d/override.conf b/systemd/user/ssh-agent.service.d/override.conf deleted file mode 100644 index d26f976..0000000 --- a/systemd/user/ssh-agent.service.d/override.conf +++ /dev/null @@ -1,4 +0,0 @@ -[Service] -# Wait so ssh-agent can start up -ExecStartPost=sleep 0.1 -ExecStartPost=ssh-add |