1 # $OpenBSD: proto-mismatch.sh,v 1.5 2017/04/30 23:34:55 djm Exp $
2 # Placed in the Public Domain.
4 tid="protocol version mismatch"
9 banner=`echo ${client} | ${SSHD} -i -f ${OBJ}/sshd_proxy`
11 trace "sshd prints ${banner}"
12 if [ $r -ne 255 ]; then
13 fail "sshd prints ${banner} but accepts version ${client}"
17 mismatch SSH-1.5-HALLO