summaryrefslogtreecommitdiff
path: root/unlock_keys
diff options
context:
space:
mode:
authortslil clingman <>2019-04-09 10:28:33 -0400
committertslil clingman <>2019-04-09 10:28:33 -0400
commitd3c79596d15feb7d3c435636535fa6911df0f96e (patch)
tree66530d2475c9fd268f742975d6b7233f39b0bab3 /unlock_keys
parent71fc4f9e3e48e77049570260c8e593d877d8fbd8 (diff)
SSH key juggling
Diffstat (limited to 'unlock_keys')
-rwxr-xr-xunlock_keys8
1 files changed, 8 insertions, 0 deletions
diff --git a/unlock_keys b/unlock_keys
new file mode 100755
index 0000000..a88674f
--- /dev/null
+++ b/unlock_keys
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+eval $(keychain --eval -q --systemd)
+
+KEY_FILES=$(ls $HOME/.ssh | grep -v '\(pub$\|^config$\|^known_hosts$\|^autohrized_keys$\)')
+echo -n "Master password: "
+badpass -k $KEY_FILES
+echo Done!