summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2017-11-01 11:36:53 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2017-11-01 11:36:53 +0100
commitfb948d13cbfa054057c269e4e2f294210b6e3ab7 (patch)
tree21f6684f08424848861dc09b967d8804ba7f2e8c
parentb6d6e39492315219a8d5249f4178051fc3837101 (diff)
downloadbin-fb948d13cbfa054057c269e4e2f294210b6e3ab7.zip
bin-fb948d13cbfa054057c269e4e2f294210b6e3ab7.tar.gz
add sss
-rwxr-xr-xsss2
1 files changed, 2 insertions, 0 deletions
diff --git a/sss b/sss
new file mode 100755
index 0000000..7521576
--- /dev/null
+++ b/sss
@@ -0,0 +1,2 @@
+#! /bin/bash
+ssh-add -l | grep -q 'no idente' | ssh-add $(ls ~/.ssh/*.pub | sed 's/\.pub.*//g' | tr '\n' ' ')