2015-03-03 23:35:19 +01:00
|
|
|
# $OpenBSD: connect.sh,v 1.5 2015/03/03 22:35:19 markus Exp $
|
2002-05-01 05:17:33 +02:00
|
|
|
# Placed in the Public Domain.
|
|
|
|
|
|
|
|
tid="simple connect"
|
|
|
|
|
|
|
|
start_sshd
|
|
|
|
|
2015-03-03 23:35:19 +01:00
|
|
|
for p in ${SSH_PROTOCOLS}; do
|
2002-05-01 05:17:33 +02:00
|
|
|
${SSH} -o "Protocol=$p" -F $OBJ/ssh_config somehost true
|
|
|
|
if [ $? -ne 0 ]; then
|
|
|
|
fail "ssh connect with protocol $p failed"
|
|
|
|
fi
|
|
|
|
done
|