connect.sh revision 1.7
1# $OpenBSD: connect.sh,v 1.7 2020/01/24 10:08:17 dtucker Exp $ 2# Placed in the Public Domain. 3 4tid="simple connect" 5 6NC=nc 7 8start_sshd 9 10trace "direct connect" 11${SSH} -F $OBJ/ssh_config somehost true 12if [ $? -ne 0 ]; then 13 fail "ssh direct connect failed" 14fi 15 16trace "proxy connect" 17${SSH} -F $OBJ/ssh_config -o "proxycommand $NC %h %p" somehost true 18if [ $? -ne 0 ]; then 19 fail "ssh proxycommand connect failed" 20fi 21