upstream: unbreak interop test after SSHv1 purge; patch from Colin

Watson via bz#2823

OpenBSD-Regress-ID: 807d30a597756ed6612bdf46dfebca74f49cb31a
This commit is contained in:
djm@openbsd.org 2018-02-23 03:03:00 +00:00 committed by Damien Miller
parent f8985dde5f
commit 73282b6118
1 changed files with 3 additions and 3 deletions

View File

@ -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.
tid="putty transfer data"
@ -15,7 +15,7 @@ for c in 0 1 ; do
${OBJ}/.putty/sessions/compression_$c
echo "Compression=$c" >> ${OBJ}/.putty/sessions/kex_$k
env HOME=$PWD ${PLINK} -load compression_$c -batch \
-i putty.rsa cat ${DATA} > ${COPY}
-i putty.rsa2 cat ${DATA} > ${COPY}
if [ $? -ne 0 ]; then
fail "ssh cat $DATA failed"
fi
@ -26,7 +26,7 @@ for c in 0 1 ; do
rm -f ${COPY}
dd if=$DATA obs=${s} 2> /dev/null | \
env HOME=$PWD ${PLINK} -load compression_$c \
-batch -i putty.rsa \
-batch -i putty.rsa2 \
"cat > ${COPY}"
if [ $? -ne 0 ]; then
fail "ssh cat $DATA failed"