xref: /freebsd/crypto/openssh/regress/connect.sh (revision 19261079b74319502c6ffa1249920079f0f69a72)
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