freebsd-src/crypto/openssh/regress/connect.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
407 B
Bash
Raw Normal View History

2021-02-14 21:04:52 +00:00
# $OpenBSD: connect.sh,v 1.8 2020/01/25 02:57:53 dtucker Exp $
2002-06-27 22:31:32 +00:00
# Placed in the Public Domain.
tid="simple connect"
start_sshd
2021-02-14 21:04:52 +00:00
trace "direct connect"
2018-05-06 12:24:45 +00:00
${SSH} -F $OBJ/ssh_config somehost true
if [ $? -ne 0 ]; then
2021-02-14 21:04:52 +00:00
fail "ssh direct connect failed"
fi
trace "proxy connect"
${SSH} -F $OBJ/ssh_config -o "proxycommand $NC %h %p" somehost true
if [ $? -ne 0 ]; then
fail "ssh proxycommand connect failed"
2018-05-06 12:24:45 +00:00
fi