• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Remote port forwarding with SSH (changes since 10.4.3?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Remote port forwarding with SSH (changes since 10.4.3?)


  • Subject: Remote port forwarding with SSH (changes since 10.4.3?)
  • From: John Turnipseed <email@hidden>
  • Date: Wed, 20 Sep 2006 18:14:34 -0500


Something with respect to ssh tunneling appears to have changed in a recent update to Tiger. 

An ssh command that I have been using for setting up a remote port forwarding tunnel from a server to my machine has stopped working under 10.4.7. I know for certain that it changed sometime after 10.4.3. I still have a 10.4.3 machine and the command works fine from there. It may have been working in other versions since then, but I don't have anything in between at the moment to go back and check.

The command in question looks like this:

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
<http://www.nanonation.net/>
<mailto:email@hidden>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: A maybe interesting problem using divert sockets
  • Next by Date: Directory Services for AD calls spradic return eDSNodeNotFound errors
  • Previous by thread: Re: A maybe interesting problem using divert sockets
  • Next by thread: Directory Services for AD calls spradic return eDSNodeNotFound errors
  • Index(es):
    • Date
    • Thread