summaryrefslogtreecommitdiff
path: root/regress/hostkey-agent.sh
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-02-21 20:51:02 +0000
committerDamien Miller <djm@mindrot.org>2015-02-22 07:58:24 +1100
commit1a779a0dd6cd8b4a1a40ea33b5415ab8408128ac (patch)
tree4bd4733baa4ad82d4d0e2b37ee208e2654c446ba /regress/hostkey-agent.sh
parent28ba006c1acddff992ae946d0bc0b500b531ba6b (diff)
upstream commit
correct paths to configuration files being written/updated; they live in $OBJ not cwd; some by Roumen Petrov
Diffstat (limited to 'regress/hostkey-agent.sh')
-rw-r--r--regress/hostkey-agent.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/hostkey-agent.sh b/regress/hostkey-agent.sh
index c007d7a5..a011ec83 100644
--- a/regress/hostkey-agent.sh
+++ b/regress/hostkey-agent.sh
@@ -1,4 +1,4 @@
-# $OpenBSD: hostkey-agent.sh,v 1.4 2015/01/27 12:01:36 djm Exp $
+# $OpenBSD: hostkey-agent.sh,v 1.5 2015/02/21 20:51:02 djm Exp $
# Placed in the Public Domain.
tid="hostkey agent"
@@ -22,7 +22,7 @@ for k in `${SSH} -Q key-plain` ; do
) >> $OBJ/known_hosts.orig
${SSHADD} $OBJ/agent-key.$k >/dev/null 2>&1 || \
fatal "couldn't load key $OBJ/agent-key.$k"
- echo "Hostkey $OBJ/agent-key.${k}" >> sshd_proxy.orig
+ echo "Hostkey $OBJ/agent-key.${k}" >> $OBJ/sshd_proxy.orig
# Remove private key so the server can't use it.
rm $OBJ/agent-key.$k || fatal "couldn't rm $OBJ/agent-key.$k"
done