upstream commit
correct paths to configuration files being written/updated; they live in $OBJ not cwd; some by Roumen Petrov
This commit is contained in:
parent
28ba006c1a
commit
1a779a0dd6
|
@ -1,4 +1,4 @@
|
|||
# $OpenBSD: forwarding.sh,v 1.12 2014/07/15 15:54:15 millert Exp $
|
||||
# $OpenBSD: forwarding.sh,v 1.13 2015/02/21 20:51:02 djm Exp $
|
||||
# Placed in the Public Domain.
|
||||
|
||||
tid="local and remote forwarding"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue