xref: /freebsd/crypto/openssh/regress/connect.sh (revision a03411e84728e9b267056fd31c7d1d9d1dc1b01e)
1#	$OpenBSD: connect.sh,v 1.8 2020/01/25 02:57:53 dtucker Exp $
2#	Placed in the Public Domain.
3
4tid="simple connect"
5
6start_sshd
7
8trace "direct connect"
9${SSH} -F $OBJ/ssh_config somehost true
10if [ $? -ne 0 ]; then
11	fail "ssh direct connect failed"
12fi
13
14trace "proxy connect"
15${SSH} -F $OBJ/ssh_config -o "proxycommand $NC %h %p" somehost true
16if [ $? -ne 0 ]; then
17	fail "ssh proxycommand connect failed"
18fi
19