ssh-agent: nuke agent on lock

This commit is contained in:
marcothms committed 2026-03-31 17:41:03 +02:00
1 parent 7519fe3840
commit 67907b8ab6
3 files changed
+24 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Remove SSH keys on lock
[Service]
Type=simple
Environment=SSH_AUTH_SOCK=/tmp/agent.sock
ExecStart=%h/.dots/remove-ssh.bash
[Install]
WantedBy=default.target