summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--regress/cfgmatch.sh8
2 files changed, 5 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index a64ea46a7..e3e3b6577 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -76,6 +76,7 @@
76 mean that the tests flip bits in the initial exchange rather than the MACed 76 mean that the tests flip bits in the initial exchange rather than the MACed
77 traffic and we get different errors to what the tests look for. 77 traffic and we get different errors to what the tests look for.
78 - (dtucker) [openbsd-compat/getopt.h] Remove unneeded bits. 78 - (dtucker) [openbsd-compat/getopt.h] Remove unneeded bits.
79 - (dtucker) [regress/cfgmatch.sh] Resync config file setup with openbsd.
79 80
8020130516 8120130516
81 - (djm) [contrib/ssh-copy-id] Fix bug that could cause "rm *" to be 82 - (djm) [contrib/ssh-copy-id] Fix bug that could cause "rm *" to be
diff --git a/regress/cfgmatch.sh b/regress/cfgmatch.sh
index df4acfe0c..e5907354b 100644
--- a/regress/cfgmatch.sh
+++ b/regress/cfgmatch.sh
@@ -40,15 +40,15 @@ stop_client()
40} 40}
41 41
42cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak 42cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
43grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
44echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy
45echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_config 43echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_config
46echo "Match user $USER" >>$OBJ/sshd_proxy
47echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy
48echo "Match Address 127.0.0.1" >>$OBJ/sshd_config 44echo "Match Address 127.0.0.1" >>$OBJ/sshd_config
49echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_config 45echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_config
50 46
47grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
48echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy
51echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_proxy 49echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_proxy
50echo "Match user $USER" >>$OBJ/sshd_proxy
51echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy
52echo "Match Address 127.0.0.1" >>$OBJ/sshd_proxy 52echo "Match Address 127.0.0.1" >>$OBJ/sshd_proxy
53echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_proxy 53echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_proxy
54 54