Add ssh-withautoadd.sh
[shutils.git] / ssh-withautoadd.sh
diff --git a/ssh-withautoadd.sh b/ssh-withautoadd.sh
new file mode 100755 (executable)
index 0000000..c134329
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+ssh-add -l > /dev/null || ssh-add
+ssh "$@"
+