summaryrefslogtreecommitdiff
path: root/app/xlockmore/etc/xlockssh-add.sh
diff options
context:
space:
mode:
Diffstat (limited to 'app/xlockmore/etc/xlockssh-add.sh')
-rw-r--r--app/xlockmore/etc/xlockssh-add.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/xlockmore/etc/xlockssh-add.sh b/app/xlockmore/etc/xlockssh-add.sh
new file mode 100644
index 000000000..88589814e
--- /dev/null
+++ b/app/xlockmore/etc/xlockssh-add.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+# This is an example of a script to prompt for a passphrase and add
+# several ssh(1) keys to a running ssh-agent(1).
+#
+ssh-add $HOME/.ssh/identity $HOME/.ssh/other_identity