summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/test-exec.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index f0e3dabfe..699595301 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -1,4 +1,4 @@
1# $OpenBSD: test-exec.sh,v 1.63 2018/05/22 00:22:49 djm Exp $ 1# $OpenBSD: test-exec.sh,v 1.64 2018/08/10 01:35:49 dtucker Exp $
2# Placed in the Public Domain. 2# Placed in the Public Domain.
3 3
4#SUDO=sudo 4#SUDO=sudo
@@ -531,10 +531,13 @@ if test "$REGRESS_INTEROP_PUTTY" = "yes" ; then
531 >> $OBJ/authorized_keys_$USER 531 >> $OBJ/authorized_keys_$USER
532 532
533 # Convert rsa2 host key to PuTTY format 533 # Convert rsa2 host key to PuTTY format
534 ${SRC}/ssh2putty.sh 127.0.0.1 $PORT $OBJ/rsa > \ 534 cp $OBJ/rsa $OBJ/rsa_oldfmt
535 ${SSHKEYGEN} -p -N '' -m PEM -f $OBJ/rsa_oldfmt >/dev/null
536 ${SRC}/ssh2putty.sh 127.0.0.1 $PORT $OBJ/rsa_oldfmt > \
535 ${OBJ}/.putty/sshhostkeys 537 ${OBJ}/.putty/sshhostkeys
536 ${SRC}/ssh2putty.sh 127.0.0.1 22 $OBJ/rsa >> \ 538 ${SRC}/ssh2putty.sh 127.0.0.1 22 $OBJ/rsa_oldfmt >> \
537 ${OBJ}/.putty/sshhostkeys 539 ${OBJ}/.putty/sshhostkeys
540 rm -f $OBJ/rsa_oldfmt
538 541
539 # Setup proxied session 542 # Setup proxied session
540 mkdir -p ${OBJ}/.putty/sessions 543 mkdir -p ${OBJ}/.putty/sessions