Lines Matching refs:check_lfwd
31 # usage: check_lfwd Y|N message
32 check_lfwd() {
40 mux_cmd check >/dev/null || fatal "check_lfwd ssh fail: $_message"
48 fail "check_lfwd failed (expecting success): $_message"
50 fail "check_lfwd succeeded (expecting failure): $_message"
52 fatal "check_lfwd invalid argument \"$_expected\""
54 verbose "check_lfwd done (expecting $_expected): $_message"
93 check_lfwd Y "default configuration"
115 check_lfwd $_plain_lfwd "$_prefix"
123 check_lfwd $_nopermit_lfwd "$_prefix, !PermitOpen"
130 check_lfwd $_plain_lfwd "$_prefix, PermitOpen"
143 check_lfwd $_nopermit_lfwd "$_prefix, !permitopen"
152 check_lfwd $_permit_lfwd "$_prefix, permitopen"
163 check_lfwd N "$_prefix, no-port-forwarding"
171 check_lfwd N "$_prefix, restrict"
180 check_lfwd $_plain_lfwd "$_prefix, restrict,port-forwarding"
211 check_lfwd $_nopermit_lfwd "$_prefix, !PermitListen"
218 check_lfwd $_plain_lfwd "$_prefix, PermitListen"