upstream: unbreak interop test after SSHv1 purge; patch from Colin
Watson via bz#2823 OpenBSD-Regress-ID: 807d30a597756ed6612bdf46dfebca74f49cb31a
This commit is contained in:
parent
f8985dde5f
commit
73282b6118
|
@ -1,4 +1,4 @@
|
||||||
# $OpenBSD: putty-transfer.sh,v 1.5 2017/04/30 23:34:55 djm Exp $
|
# $OpenBSD: putty-transfer.sh,v 1.6 2018/02/23 03:03:00 djm Exp $
|
||||||
# Placed in the Public Domain.
|
# Placed in the Public Domain.
|
||||||
|
|
||||||
tid="putty transfer data"
|
tid="putty transfer data"
|
||||||
|
@ -15,7 +15,7 @@ for c in 0 1 ; do
|
||||||
${OBJ}/.putty/sessions/compression_$c
|
${OBJ}/.putty/sessions/compression_$c
|
||||||
echo "Compression=$c" >> ${OBJ}/.putty/sessions/kex_$k
|
echo "Compression=$c" >> ${OBJ}/.putty/sessions/kex_$k
|
||||||
env HOME=$PWD ${PLINK} -load compression_$c -batch \
|
env HOME=$PWD ${PLINK} -load compression_$c -batch \
|
||||||
-i putty.rsa cat ${DATA} > ${COPY}
|
-i putty.rsa2 cat ${DATA} > ${COPY}
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
fail "ssh cat $DATA failed"
|
fail "ssh cat $DATA failed"
|
||||||
fi
|
fi
|
||||||
|
@ -26,7 +26,7 @@ for c in 0 1 ; do
|
||||||
rm -f ${COPY}
|
rm -f ${COPY}
|
||||||
dd if=$DATA obs=${s} 2> /dev/null | \
|
dd if=$DATA obs=${s} 2> /dev/null | \
|
||||||
env HOME=$PWD ${PLINK} -load compression_$c \
|
env HOME=$PWD ${PLINK} -load compression_$c \
|
||||||
-batch -i putty.rsa \
|
-batch -i putty.rsa2 \
|
||||||
"cat > ${COPY}"
|
"cat > ${COPY}"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
fail "ssh cat $DATA failed"
|
fail "ssh cat $DATA failed"
|
||||||
|
|
Loading…
Reference in New Issue