From ccd86cba4b16862aaaa04a5a47d91576dfceb3cd Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 23 Jan 2010 11:21:57 +0100 Subject: pushpdo actually honor SSH_OPTS variable Signed-off-by: Joerg Jaspert --- bin/pushpdo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pushpdo b/bin/pushpdo index 7dfc440..91df528 100755 --- a/bin/pushpdo +++ b/bin/pushpdo @@ -102,7 +102,7 @@ while read MLNAME MHOSTNAME MUSER MPROTO MKEYFILE; do log "Pushing ${MLNAME}" >> ${LOG} # This needs a limited ssh key on the other side, something like # no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty,command="rsync --server -vlogDtpr . /srv/mirrors/packages.debian.org/",from="87.106.64.223,2001:8d8:80:11::35d,powell.debian.org" ssh-rsa..... - rsync -e "ssh -i ${MKEYFILE} -${MPROTO}" -av --stats "${MIRRORPATH}" ${MUSER}@${MHOSTNAME}:/does/not/matter >"${LOGDIR}/${MLNAME}.log" + rsync -e "ssh -i ${MKEYFILE} -${MPROTO} ${SSH_OPTS}" -av --stats "${MIRRORPATH}" ${MUSER}@${MHOSTNAME}:/does/not/matter >"${LOGDIR}/${MLNAME}.log" log "Pushing ${MLNAME} done" >> ${LOG} savelog ${LOGDIR}${MLNAME}.log -- cgit v1.2.3