This is a known issue with 2.9p2 that is fixed in the current CVS tree.
Applu this patch (I got it from the list a while back).
-Lee
--- channels.c.orig Wed Jun 13 14:18:05 2001
+++ channels.c Thu Aug 2 20:26:25 2001
@@ -773,8 +773,9 @@
rtype = (c->type == SSH_CHANNEL_RPORT_LISTENER) ?
"forwarded-tcpip" : "direct-tcpip";
- nextstate = (c->host_port == 0) ? SSH_CHANNEL_DYNAMIC :
- SSH_CHANNEL_OPENING;
+ nextstate = (c->host_port == 0 &&
+ c->type != SSH_CHANNEL_RPORT_LISTENER) ?
+ SSH_CHANNEL_DYNAMIC : SSH_CHANNEL_OPENING;
addrlen = sizeof(addr);
newsock = accept(c->sock, &addr, &addrlen);
---begin quoted text---> From: "Stuart Kemp" <stuart_kemp at hotmail.com>
> To: openssh-unix-dev at mindrot.org
> Subject: port-forwarding problem!?
> Date: Thu, 16 Aug 2001 01:55:51
>
> Using OpenSSH_2.9p2 on Linux and Sparc Solaris.
> Trying to connect from Linux to Solaris, with remote port-forwarding
> i.e. On Linux, ssh -R 3000:Linux:23 Solaris
---end quoted text---
--
Lee Eakin - leakin at dfw.nostrum.com
"There are two major products that come out of Berkeley: LSD and UNIX.
We don't believe this to be a coincidence." -- Jeremy S. Anderson