diff --git a/tests/runtests.pl b/tests/runtests.pl index 165fd0904..1ae0f0655 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1105,7 +1105,7 @@ sub runsocksserver { } my $flag=$debugprotocol?"-v ":""; - my $cmd="ssh -D ${HOSTIP}:$SOCKSPORT -N -F curl_ssh_config ${USER}\@${HOSTIP} -p ${SSHPORT} -vv >log/ssh.log 2>&1"; + my $cmd="ssh -D $SOCKSPORT -N -F curl_ssh_config ${USER}\@${HOSTIP} -p ${SSHPORT} -vv >log/ssh.log 2>&1"; logmsg "TRACESSH:runsocksserver: calling startnew with cmd: $cmd\n"; my ($sshpid, $pid2) = startnew($cmd, $pidfile, 15, 1); # start the server in a new process