Lines Matching full:match
4 tid="sshd_config match"
43 echo "Match Address 127.0.0.1" >>$OBJ/sshd_config
49 echo "Match user $USER" >>$OBJ/sshd_proxy
51 echo "Match Address 127.0.0.1 # comment" >>$OBJ/sshd_proxy
55 fail "config w/match fails config test"
59 # Test Match + PermitOpen in sshd_config. This should be permitted
60 trace "match permitopen localhost"
63 fail "match permitopen permit"
67 trace "match permitopen proxy"
70 fail "match permitopen deny"
79 trace "match permitopen proxy w/key opts"
82 fail "match permitopen deny w/key opt"
87 trace "match permitopen localhost"
90 fail "match permitopen permit"
95 echo "Match User $USER" >>$OBJ/sshd_proxy
98 # Test that a Match overrides a PermitOpen in the global section
99 trace "match permitopen proxy w/key opts"
102 fail "match override permitopen"
107 echo "Match User NoSuchUser" >>$OBJ/sshd_proxy
110 # Test that a rule that doesn't match doesn't override, plus test a
118 # Test parsing of available Match criteria (with the exception of Group which
129 Match $config $value
156 fail "match $config expected $expected got $result"