summaryrefslogtreecommitdiffstats
path: root/bin/laptop/ssh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/laptop/ssh')
-rwxr-xr-xbin/laptop/ssh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/laptop/ssh b/bin/laptop/ssh
new file mode 100755
index 0000000..453bb11
--- /dev/null
+++ b/bin/laptop/ssh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+SSH=/usr/bin/$(basename $0)
+
+if [[ $1 != '-V' ]]; then
+ . ssh-key-unlock
+fi
+exec $SSH $*