diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | regress/cfgmatch.sh | 8 |
2 files changed, 5 insertions, 4 deletions
@@ -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 | ||
80 | 20130516 | 81 | 20130516 |
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 | ||
42 | cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak | 42 | cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak |
43 | grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy | ||
44 | echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy | ||
45 | echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_config | 43 | echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_config |
46 | echo "Match user $USER" >>$OBJ/sshd_proxy | ||
47 | echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy | ||
48 | echo "Match Address 127.0.0.1" >>$OBJ/sshd_config | 44 | echo "Match Address 127.0.0.1" >>$OBJ/sshd_config |
49 | echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_config | 45 | echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_config |
50 | 46 | ||
47 | grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy | ||
48 | echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy | ||
51 | echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_proxy | 49 | echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_proxy |
50 | echo "Match user $USER" >>$OBJ/sshd_proxy | ||
51 | echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy | ||
52 | echo "Match Address 127.0.0.1" >>$OBJ/sshd_proxy | 52 | echo "Match Address 127.0.0.1" >>$OBJ/sshd_proxy |
53 | echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_proxy | 53 | echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_proxy |
54 | 54 | ||