freebsd-dev/regress/connect.sh

14 lines
293 B
Bash
Raw Normal View History

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