summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcontroller/libexec/dtf-wait-for-ssh3
1 files changed, 2 insertions, 1 deletions
diff --git a/controller/libexec/dtf-wait-for-ssh b/controller/libexec/dtf-wait-for-ssh
index 49b4bcd..ce63668 100755
--- a/controller/libexec/dtf-wait-for-ssh
+++ b/controller/libexec/dtf-wait-for-ssh
@@ -5,7 +5,8 @@ where="$1"
test -z "$where" && echo >&2 "no host specified" && exit 1
while true; do
- ssh -o StrictHostKeyChecking=no -q "$where" exit &>/dev/null && exit 0
+ ssh -o PasswordAuthentication=no -o StrictHostKeyChecking=no \
+ -q "$where" exit &>/dev/null && exit 0
done
exit 1