1 # $OpenBSD: proxy-connect.sh,v 1.12 2020/01/23 11:19:12 dtucker Exp $
2 # Placed in the Public Domain.
6 if [ "`${SSH} -Q compression`" = "none" ]; then
13 verbose "plain username comp=$c"
14 opts="-oCompression=$c -F $OBJ/ssh_proxy"
15 SSH_CONNECTION=`${SSH} $opts 999.999.999.999 'echo $SSH_CONNECTION'`
17 fail "ssh proxyconnect comp=$c failed"
19 if [ "$SSH_CONNECTION" != "UNKNOWN 65535 UNKNOWN 65535" ]; then
20 fail "bad SSH_CONNECTION comp=$c: " \
25 verbose "username with style"
26 ${SSH} -F $OBJ/ssh_proxy ${USER}:style@999.999.999.999 true || \
27 fail "ssh proxyconnect failed"