summaryrefslogtreecommitdiff
path: root/regress/cfgmatch.sh
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-05-17 19:02:28 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-05-17 19:02:28 +1000
commit7f193236594e8328ad133ea05eded31f837b45b5 (patch)
tree3ce0ceb9d68ce9d43aa4b0e6602124a7268513f1 /regress/cfgmatch.sh
parent8654dd2d737800d09e7730b3dfc2a54411f4cf90 (diff)
- (dtucker) [regress/cfgmatch.sh] Resync config file setup with openbsd.
Diffstat (limited to 'regress/cfgmatch.sh')
-rw-r--r--regress/cfgmatch.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/regress/cfgmatch.sh b/regress/cfgmatch.sh
index df4acfe0..e5907354 100644
--- a/regress/cfgmatch.sh
+++ b/regress/cfgmatch.sh
@@ -40,15 +40,15 @@ stop_client()
}
cp $OBJ/sshd_proxy $OBJ/sshd_proxy_bak
-grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
-echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy
echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_config
-echo "Match user $USER" >>$OBJ/sshd_proxy
-echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy
echo "Match Address 127.0.0.1" >>$OBJ/sshd_config
echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_config
+grep -v AuthorizedKeysFile $OBJ/sshd_proxy_bak > $OBJ/sshd_proxy
+echo "AuthorizedKeysFile /dev/null" >>$OBJ/sshd_proxy
echo "PermitOpen 127.0.0.1:1" >>$OBJ/sshd_proxy
+echo "Match user $USER" >>$OBJ/sshd_proxy
+echo "AuthorizedKeysFile /dev/null $OBJ/authorized_keys_%u" >>$OBJ/sshd_proxy
echo "Match Address 127.0.0.1" >>$OBJ/sshd_proxy
echo "PermitOpen 127.0.0.1:$PORT" >>$OBJ/sshd_proxy