]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/blob - crypto/openssh/regress/connect.sh
- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
[FreeBSD/releng/10.3.git] / crypto / openssh / regress / connect.sh
1 #       $OpenBSD: connect.sh,v 1.5 2015/03/03 22:35:19 markus Exp $
2 #       Placed in the Public Domain.
3
4 tid="simple connect"
5
6 start_sshd
7
8 for p in ${SSH_PROTOCOLS}; 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
13 done