diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2010-02-09 04:57:37 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2010-02-09 04:57:37 +0000 |
commit | 3f02ac1ae258b5721da2842ba64b31ed4b099552 (patch) | |
tree | 6b2386ebc39cc9224011a7dbd0779396e74b942d /regress/usr.bin | |
parent | 6a44f2efd7b682c2792d7416458f4dd0d4505bfb (diff) |
clean up droppings
Diffstat (limited to 'regress/usr.bin')
-rw-r--r-- | regress/usr.bin/ssh/addrmatch.sh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/regress/usr.bin/ssh/addrmatch.sh b/regress/usr.bin/ssh/addrmatch.sh index 796cb5262bc..f9d613baf9a 100644 --- a/regress/usr.bin/ssh/addrmatch.sh +++ b/regress/usr.bin/ssh/addrmatch.sh @@ -1,9 +1,9 @@ -# $OpenBSD: addrmatch.sh,v 1.2 2008/12/07 22:17:48 djm Exp $ +# $OpenBSD: addrmatch.sh,v 1.3 2010/02/09 04:57:36 djm Exp $ # Placed in the Public Domain. tid="address match" -mv $OBJ/sshd_proxy $OBJ/sshd_proxy_orig +mv $OBJ/sshd_proxy $OBJ/sshd_proxy_bak run_trial() { @@ -18,7 +18,7 @@ run_trial() fi } -cp $OBJ/sshd_proxy_orig $OBJ/sshd_proxy +cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy cat >>$OBJ/sshd_proxy <<EOD PasswordAuthentication no Match Address 192.168.0.0/16,!192.168.30.0/24,10.0.0.0/8,host.example.com @@ -39,3 +39,6 @@ run_trial user ::3 somehost no "deny IP6 negated" run_trial user ::4 somehost no "deny, IP6 no match" run_trial user 2000::1 somehost yes "permit, IP6 network" run_trial user 2001::1 somehost no "deny, IP6 network" + +cp $OBJ/sshd_proxy_bak $OBJ/sshd_proxy +rm $OBJ/sshd_proxy_bak |