summaryrefslogtreecommitdiff
path: root/app/xlockmore/etc/xlockssh.fvwm2rc
diff options
context:
space:
mode:
Diffstat (limited to 'app/xlockmore/etc/xlockssh.fvwm2rc')
-rw-r--r--app/xlockmore/etc/xlockssh.fvwm2rc8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/xlockmore/etc/xlockssh.fvwm2rc b/app/xlockmore/etc/xlockssh.fvwm2rc
new file mode 100644
index 000000000..17a00d85e
--- /dev/null
+++ b/app/xlockmore/etc/xlockssh.fvwm2rc
@@ -0,0 +1,8 @@
+#
+# This is an example of what a fvwm2(1) user might add to ~/.fvwm2rc
+# so that xlock(1) will delete their keys from ssh-agent(1) when they
+# lock the screen and re-add them when the unlock it.
+#
+
+Key z A CM Exec xlock -nice 0 -mode life -startCmd "ssh-add -D" \
+ -pipepassCmd /usr/local/bin/xlockssh-add-keys.pl &