1 # $OpenBSD: proto-version.sh,v 1.5 2015/03/03 22:35:19 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=`printf '' | ${SSHD} -o "Protocol=${version}" -i -f ${OBJ}/sshd_proxy`
26 if [ ${expect} -ne ${proto} ]; then
27 fail "wrong protocol version ${banner} for ${version}"
32 if ssh_version 1; then