ssh -R 50686:127.0.0.1:5500 -C -p 8888 someuser@XXX.XXX.XXX.XXX -N
XXX.XXX.XXX.XXX is the static IP address of a remote Windows 2003 Server with an SSH service listening on port 8888.
The port 50686 is available on the server, and like I said, the exact above command works fine from a Mac OS X 10.4.3 machine to the same server.
The above command, with -vv appended, executed from a 10.4.3 box get's the following:
debug1: Authentication succeeded (password).
debug1: Connections to remote port 50686 forwarded to local address 127.0.0.1:5500
debug1: Entering interactive session.
debug1: remote forward success for: listen 50686, connect 127.0.0.1:5500
The exact same command executed on a 10.4.7 machine, results in the following:
debug1: Authentication succeeded (password).
debug1: Remote connections from LOCALHOST:50686 forwarded to local address 127.0.0.1:5500
debug1: Entering interactive session.
debug1: remote forward failure for: listen 50686, connect 127.0.0.1:5500
Warning: remote port forwarding failed for listen port 50686
I'm not sure where the LOCALHOST in the above result is coming from on 10.4.7. The way I read it, it makes me think it's trying to create a tunnel between the two local ports for some reason and not between the local port and the remote server's port.
The versions of SSH are different, but I've yet to find any release notes that tell me what changed that might pertain to this problem.
Mac OS X 10.4.3
OpenSSH 3.8.1p1
OpenSSL 0.9.7g
Mac OS X 10.4.7
OpenSSH 4.2p1
OpenSSL 0.9.7i
Any suggestions or pointers would be greatly appreciated.
-=- John
------------------------------------------------
John Turnipseed
Macintosh Software Übercoder
Nanonation, Inc., Lincoln, Nebraska