summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-02-28 10:34:10 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-02-28 10:34:10 +0100
commit5e044857f14932a950b12d61a1f1c58a934bc5e6 (patch)
tree2395eac016e4b2eefe0894411428e48f2326056d
parent9a145601b331c0077d183e2b8f39c8f69450b452 (diff)
added sshpass
-rwxr-xr-xbin/common/sshpass6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/common/sshpass b/bin/common/sshpass
new file mode 100755
index 0000000..71f8e93
--- /dev/null
+++ b/bin/common/sshpass
@@ -0,0 +1,6 @@
+#!/bin/sh
+if [ "$PASSWORD" ]
+then
+ pass show "$PASSWORD" && exit
+ exit 1
+fi