Lines Matching +full:host +full:- +full:port

6 HostKey $OBJ/host.ssh-ed25519
7 Match host a
10 Match host b
14 Match host c
18 Match host m
21 Match Host d
24 Match Host e
28 Match Host f
32 Match Host n
37 Match host xxxxxx
41 Match host a
44 Match host b
47 Match host c
50 Match Host d
53 Match Host e
56 Match Host f
61 Match host a
64 Match host b
67 Match host c # comment
70 Match Host d
73 Match Host e
76 Match Host f
87 test -z "$_desc" && _desc="test match"
88 trace "$_desc host=$_host expect=$_exp"
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}'`
94 fail "$desc_ host $_host include fail: expected $_exp got $_got"
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 && \
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 && \
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.
138 Match host x
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
158 Match host a
162 Match host a
169 # Port in included file is correctly interpretted (bug #3169)
172 Port 7722
175 HostKey $OBJ/host.ssh-ed25519
178 trace "Port after included files"
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 || \
181 fail "failed to parse Port after included files"
182 _port=`grep -i '^port ' $OBJ/sshd_config.out | awk '{print $2}'`
184 fail "The Port in included file was intertepretted wrongly. Expected 7722, got $_port"
188 rm -f $OBJ/sshd_config.i $OBJ/sshd_config.i.* $OBJ/sshd_config.out