Lines Matching +full:test +full:- +full:config
3 tid="server config include"
6 HostKey $OBJ/host.ssh-ed25519
87 test -z "$_desc" && _desc="test match"
89 ${SUDO} ${REAL_SSHD} -f $OBJ/sshd_config.i -T \
90 -C "host=$_host,user=test,addr=127.0.0.1" > $OBJ/sshd_config.out ||
91 fatal "ssh config parse failed: $_desc host=$_host expect=$_exp"
92 _got=`grep -i '^banner ' $OBJ/sshd_config.out | awk '{print $2}'`
93 if test "x$_exp" != "x$_got" ; then
108 # Prepare an included config with an error.
115 trace "disallow invalid config host=a"
116 ${SUDO} ${REAL_SSHD} -f $OBJ/sshd_config.i \
117 -C "host=a,user=test,addr=127.0.0.1" 2>/dev/null && \
118 fail "sshd include allowed invalid config"
120 trace "disallow invalid config host=x"
121 ${SUDO} ${REAL_SSHD} -f $OBJ/sshd_config.i \
122 -C "host=x,user=test,addr=127.0.0.1" 2>/dev/null && \
123 fail "sshd include allowed invalid config"
125 rm -f $OBJ/sshd_config.i.*
129 HostKey $OBJ/host.ssh-ed25519
134 trial a /aa "missing include non-fatal"
136 # Ensure that Match/Host in an included config does not affect parent.
149 ${SUDO} ${REAL_SSHD} -f $OBJ/sshd_config.i.x -T \
150 -C "host=x,user=test,addr=127.0.0.1" 2>/dev/null && \
156 HostKey $OBJ/host.ssh-ed25519
175 HostKey $OBJ/host.ssh-ed25519
179 ${SUDO} ${REAL_SSHD} -f $OBJ/sshd_config.i -T \
180 -C "host=x,user=test,addr=127.0.0.1" > $OBJ/sshd_config.out || \
182 _port=`grep -i '^port ' $OBJ/sshd_config.out | awk '{print $2}'`
183 if test "x7722" != "x$_port" ; then
188 rm -f $OBJ/sshd_config.i $OBJ/sshd_config.i.* $OBJ/sshd_config.out