Commit f921816d authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make SSH destination a parameter (so we can run on tools)

Don't request a TTY
parent 15bfb54a
......@@ -44,6 +44,8 @@ WAITPERIOD=60 # unit: Seconds
WAITGOOD=60 # unit: WAITPERIOD
WAITBAD=1 # unit: WAITPERIOD
SSH_DST="-p 203 vtest@varnish-cache.org"
#######################################################################
if ! (cd varnish-cache 2>/dev/null) ; then
......@@ -100,9 +102,10 @@ submit () (
-o StrictHostKeyChecking=no \
-o PasswordAuthentication=no \
-o NumberOfPasswordPrompts=0 \
-o RequestTTY=no \
-i vt_key \
-p 203 \
vtest@varnish-cache.org < ${1}
${SSH_DST} \
< ${1}
)
rm -f _report.tgz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment