Lines Matching refs:f

16 		echo "$f" | tr ',' '\n' | grep "^$_expect\$" >/dev/null
25 echo "$f" | tr ',' '\n' | grep "^$_expect\$" >/dev/null
38 f=`${SSH} -GF $OBJ/ssh_config host | awk '/exitonforwardfailure/{print $2}'`
39 test "$f" = "no" || fail "exitonforwardfailure default"
40 f=`${SSH} -GF $OBJ/ssh_config -W a:1 h | awk '/exitonforwardfailure/{print $2}'`
41 test "$f" = "yes" || fail "exitonforwardfailure enable"
42 f=`${SSH} -GF $OBJ/ssh_config -W a:1 -o exitonforwardfailure=no h | \
44 test "$f" = "no" || fail "exitonforwardfailure override"
46 f=`${SSH} -GF $OBJ/ssh_config host | awk '/clearallforwardings/{print $2}'`
47 test "$f" = "no" || fail "clearallforwardings default"
48 f=`${SSH} -GF $OBJ/ssh_config -W a:1 h | awk '/clearallforwardings/{print $2}'`
49 test "$f" = "yes" || fail "clearallforwardings enable"
50 f=`${SSH} -GF $OBJ/ssh_config -W a:1 -o clearallforwardings=no h | \
52 test "$f" = "no" || fail "clearallforwardings override"
56 f=`${SSH} -GF $OBJ/ssh_config host | awk '/^user /{print $2}'`
57 test "$f" = "$user" || fail "user from config, expected '$user' got '$f'"
58 f=`${SSH} -GF $OBJ/ssh_config -o user=foo -l bar baz@host | awk '/^user /{print $2}'`
59 test "$f" = "foo" || fail "user first match -oUser, expected 'foo' got '$f' "
60 f=`${SSH} -GF $OBJ/ssh_config -lbar baz@host user=foo baz@host | awk '/^user /{print $2}'`
61 test "$f" = "bar" || fail "user first match -l, expected 'bar' got '$f'"
62 f=`${SSH} -GF $OBJ/ssh_config baz@host -o user=foo -l bar baz@host | awk '/^user /{print $2}'`
63 test "$f" = "baz" || fail "user first match user@host, expected 'baz' got '$f'"
67 f=`${SSH} -GF none host | awk '/^pubkeyacceptedalgorithms /{print $2}'`
68 expect_result_present "$f" "ssh-ed25519" "ssh-ed25519-cert-v01.*"
69 expect_result_absent "$f" "ssh-dss"
71 f=`${SSH} -GF none -opubkeyacceptedalgorithms=ssh-ed25519 host | \
73 expect_result_present "$f" "ssh-ed25519"
74 expect_result_absent "$f" "ssh-ed25519-cert-v01.*" "ssh-dss"
76 f=`${SSH} -GF none -opubkeyacceptedalgorithms=-ssh-ed25519-cert* host | \
78 expect_result_present "$f" "ssh-ed25519"
79 expect_result_absent "$f" "ssh-ed25519-cert-v01.*" "ssh-dss"
80 f=`${SSH} -GF none -opubkeyacceptedalgorithms=-ssh-ed25519 host | \
82 expect_result_present "$f" "ssh-ed25519-cert-v01.*"
83 expect_result_absent "$f" "ssh-ed25519" "ssh-dss"
87 f=`${SSH} -GF none -opubkeyacceptedalgorithms=+ssh-dss-cert* host | \
89 expect_result_present "$f" "ssh-ed25519" "ssh-dss-cert-v01.*"
90 expect_result_absent "$f" "ssh-dss"
91 f=`${SSH} -GF none -opubkeyacceptedalgorithms=+ssh-dss host | \
93 expect_result_present "$f" "ssh-ed25519" "ssh-ed25519-cert-v01.*" "ssh-dss"
94 expect_result_absent "$f" "ssh-dss-cert-v01.*"
98 f=`${SSH} -GF none host | awk '/^forwardagent /{print$2}'`
99 expect_result_present "$f" "no"
100 f=`${SSH} -GF none -oforwardagent=no host | awk '/^forwardagent /{print$2}'`
101 expect_result_present "$f" "no"
102 f=`${SSH} -GF none -oforwardagent=yes host | awk '/^forwardagent /{print$2}'`
103 expect_result_present "$f" "yes"
104 f=`${SSH} -GF none '-oforwardagent=SSH_AUTH_SOCK.forward' host | awk '/^forwardagent /{print$2}'`
105 expect_result_present "$f" "SSH_AUTH_SOCK.forward"
113 f=`${SSH} -GF $OBJ/ssh_config.0 -oipqos=cs1 host | awk '/^ipqos /{print$2}'`
114 expect_result_present "$f" "cs1"
115 f=`${SSH} -GF $OBJ/ssh_config.0 -otunneldevice=3:4 host | awk '/^tunneldevice /{print$2}'`
116 expect_result_present "$f" "3:4"