Skip to content

Commit

Permalink
upstream: don't need to start a command here; use ssh -N instead.
Browse files Browse the repository at this point in the history
Fixes failure on cygwin spotted by Darren

OpenBSD-Regress-ID: ff678a8cc69160a3b862733d935ec4a383f93cfb
  • Loading branch information
djmdjm committed Jul 30, 2023
1 parent f446a44 commit e0f91aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions regress/forward-control.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $OpenBSD: forward-control.sh,v 1.11 2022/04/21 01:36:46 dtucker Exp $
# $OpenBSD: forward-control.sh,v 1.12 2023/07/28 05:33:15 djm Exp $
# Placed in the Public Domain.

tid="sshd control of local and remote forwarding"
Expand Down Expand Up @@ -36,7 +36,7 @@ check_lfwd() {
-L$LFWD_PORT:127.0.0.1:$PORT \
-o ExitOnForwardFailure=yes \
-MS $CTL -o ControlPersist=yes \
-f host true
-Nf host
mux_cmd check >/dev/null || fatal "check_lfwd ssh fail: $_message"
${SSH} -F $OBJ/ssh_config -p $LFWD_PORT \
-oConnectionAttempts=10 host true >/dev/null 2>&1
Expand All @@ -63,7 +63,7 @@ check_rfwd() {
-R127.0.0.1:$RFWD_PORT:127.0.0.1:$PORT \
-o ExitOnForwardFailure=yes \
-MS $CTL -o ControlPersist=yes \
-f host true
-Nf host
mux_cmd check >/dev/null
_result=$?
_sshpid=`controlmaster_pid`
Expand Down

0 comments on commit e0f91aa

Please sign in to comment.