blob: f0d55d343d8a261f9fe9a8e15bbbb0f5d1507462 [file] [log] [blame]
markus@openbsd.orgdad2b182015-03-03 22:35:19 +00001# $OpenBSD: connect.sh,v 1.5 2015/03/03 22:35:19 markus Exp $
Damien Miller38cd4352002-05-01 13:17:33 +10002# Placed in the Public Domain.
3
4tid="simple connect"
5
6start_sshd
7
markus@openbsd.orgdad2b182015-03-03 22:35:19 +00008for p in ${SSH_PROTOCOLS}; do
Damien Miller38cd4352002-05-01 13:17:33 +10009 ${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