Lines Matching refs:SCP
1 # $OpenBSD: scp.sh,v 1.7 2006/01/31 10:36:33 djm Exp $
4 tid="scp"
9 if diff -N ${SRC}/scp.sh ${SRC}/scp.sh 2>/dev/null; then
22 cp ${SRC}/scp-ssh-wrapper.sh ${OBJ}/scp-ssh-wrapper.scp
23 chmod 755 ${OBJ}/scp-ssh-wrapper.scp
24 scpopts="-q -S ${OBJ}/scp-ssh-wrapper.scp"
33 $SCP $scpopts ${DATA} ${COPY} || fail "copy failed"
38 $SCP $scpopts ${DATA} somehost:${COPY} || fail "copy failed"
43 $SCP $scpopts somehost:${DATA} ${COPY} || fail "copy failed"
49 $SCP $scpopts ${COPY} somehost:${DIR} || fail "copy failed"
55 $SCP $scpopts ${COPY} ${DIR} || fail "copy failed"
61 $SCP $scpopts somehost:${COPY} ${DIR} || fail "copy failed"
68 $SCP $scpopts -r ${DIR} somehost:${DIR2} || fail "copy failed"
75 $SCP $scpopts -r ${DIR} ${DIR2} || fail "copy failed"
82 $SCP $scpopts -r somehost:${DIR} ${DIR2} || fail "copy failed"
89 $SCP $scpopts *metachar* ${DIR2} 2>/dev/null; \
93 verbose "$tid: skipped file after scp -p with failed chown+utimes"
100 $SCP -p $scpopts somehost:${DIR}/\* ${DIR2} >/dev/null 2>&1
110 $SCP $scpopts somehost:${DATA} ${DIR} >/dev/null 2>/dev/null
115 $SCP -r $scpopts somehost:${DATA} ${DIR2} >/dev/null 2>/dev/null
123 $SCP $scpopts ${DATA} ${COPY} ${COPY2}
127 rm -f ${OBJ}/scp-ssh-wrapper.scp