1 # $OpenBSD: proto-version.sh,v 1.3 2002/03/15 13:08:56 markus Exp $
2 # Placed in the Public Domain.
4 tid
="sshd version with different protocol combinations"
6 # we just start sshd in inetd mode and check the banner
11 banner=`echon | ${SSHD} -o "Protocol=${version}" -i -f ${OBJ}/sshd_proxy`
26 if [ ${expect} -ne ${proto} ]; then
27 fail
"wrong protocol version ${banner} for ${version}"