xref: /openbsd-src/regress/usr.bin/ssh/connect.sh (revision d13be5d47e4149db2549a9828e244d59dbc43f15)
1#	$OpenBSD: connect.sh,v 1.4 2002/03/15 13:08:56 markus Exp $
2#	Placed in the Public Domain.
3
4tid="simple connect"
5
6start_sshd
7
8for p in 1 2; do
9	${SSH} -o "Protocol=$p" -F $OBJ/ssh_config somehost true
10	if [ $? -ne 0 ]; then
11		fail "ssh connect with protocol $p failed"
12	fi
13done
14